creating-automated-screenshots

Generate XCUITest screenshot tests and capture UI hierarchy attachments.

1|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/gestrich/xcode-sim-automation --skill creating-automated-screenshots
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: creating-automated-screenshots
Source: https://github.com/gestrich/xcode-sim-automation/tree/main/plugin/skills/creating-automated-screenshots
Command: npx skills add https://github.com/gestrich/xcode-sim-automation --skill creating-automated-screenshots

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the end-to-end workflow of creating an automated UI test for a specific view, running it, and extracting screenshots for documentation or review.

Core Features & Use Cases

  • Automated test file creation: generates a ScreenshotTest_<ViewName> in your UI test target.
  • Test execution and artifact extraction: runs the test and captures UI hierarchy and screenshots for debugging and documentation.
  • Documentation-ready output: produces visual artifacts suitable for design reviews and artifact repositories.

Quick Start

Create a new UI test file that navigates to the target view, captures a screenshot, and stores the results for documentation.

Frequently Asked Questions about creating-automated-screenshots

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate UI view screenshots for iOS documentation?

Automating iOS UI view screenshots involves generating an XCUITest file that navigates to the target view, runs the test, and captures the rendered screen. This process produces documentation-ready visual artifacts directly from your test execution.

Can I use XCUITest to capture screenshots for visual QA?

Yes, XCUITest can capture screenshots for visual QA by generating a specific test case that navigates to the view and saves the screen output. The test run also extracts the UI hierarchy to assist with design reviews and debugging.

Do I need a configured test target to generate automated screenshots?

Yes, you need an XCUITest-enabled project with a configured test target to generate automated screenshots. The automation requires this setup to name the test file correctly and locate the specific view you want to capture.

What is the best way to create visual docs from an iOS view?

The best way to create visual docs from an iOS view is to automate a UI test that captures the screen and UI hierarchy. This generates a ScreenshotTest file in your target, producing reliable visual artifacts suitable for design reviews.

How does test generation work for capturing specific iOS views?

Test generation for capturing specific iOS views works by creating a ScreenshotTest_<ViewName> file within your UI test target. This test automatically navigates to the desired view and captures the required screenshots during execution.