Are there any changes to UI testing?
Asked on 06/12/2025
1 search
Yes, there have been several changes to UI testing as presented at WWDC. In the session titled "What’s new in Xcode," significant upgrades to Xcode's UI testing were highlighted. These include:
-
Enhanced UI Automation Recording: Xcode now features a completely new code generation system for UI Automation Recording, making it easier to implement UI tests by recording interactions directly within the app. This allows for the generation of concise code for interactions and provides multiple identifier options for elements, which can be used to fine-tune how elements are identified in tests.
-
Automation Explorer: This tool provides a full video recording of the test, allowing developers to replay tests in real-time and inspect elements post-test. It records attributes about every identifiable element, which can be inspected after the test run.
-
XCT Hitch Metric: A new metric has been added to the Measure API in Xcode 26, which helps in catching hitches in the app during testing. This is useful for measuring the responsiveness of the UI, such as testing the scrolling animation performance.
-
Test Plans and Configurations: Test plans now allow for more detailed configurations, including running tests in multiple languages and locales, and managing test properties like timeouts and execution order.
For more detailed information, you can refer to the session What’s new in Xcode (30:15).

What’s new in Xcode
Discover the latest productivity and performance advancements in Xcode 26. Learn how to leverage large language models in your development workflow. Explore editing and debugging enhancements, improved performance and testing tools, and Swift Build - the open-source build system engine used by Xcode.

Integrate privacy into your development process
Learn how to build privacy into your apps from the planning stages through deployment. We’ll cover practical ways to integrate privacy at each step of the development lifecycle, focusing on data minimization, on-device processing, and transparency and control. You’ll discover how to use Apple’s tools and frameworks to protect user data and create a privacy-respecting app experience.

What’s new in StoreKit and In-App Purchase
Learn how to build and deliver even better purchase experiences using the App Store In-App Purchase system. We’ll demo new StoreKit views control styles and new APIs to improve your subscription customization, discuss new fields for transaction-level information, and explore new testability in Xcode. We’ll also review an important StoreKit deprecation.