WWDC25: Record, replay, and review: UI automation with Xcode | Apple

Learn to record, run, and maintain XCUIAutomation tests in Xcode. Replay your XCTest UI tests in dozens of locales, device types, and system conditions using test plan configurations. Review your test results using the Xcode test report, and download screenshots and videos of your runs. We’ll also cover best practices for preparing your app for automation with Accessibility and writing stable, high-quality automation code. Explore related documentation, sample code, and more: Performing accessibility testing for your app: https://developer.apple.com/documenta... Improving code assessment by organizing tests into test plans: https://developer.apple.com/documenta... Delivering an exceptional accessibility experience: https://developer.apple.com/documenta... SwiftUI Accessibility: Beyond the basics: https://developer.apple.com/videos/pl... Build accessible apps with SwiftUI and UIKit: https://developer.apple.com/videos/pl... Perform accessibility audits for your app: https://developer.apple.com/videos/pl... Author fast and reliable tests for Xcode Cloud: https://developer.apple.com/videos/pl... Create practical workflows in Xcode Cloud: https://developer.apple.com/videos/pl... Fix failures faster with Xcode test reports: https://developer.apple.com/videos/pl... Meet Swift Testing: https://developer.apple.com/videos/pl... 00:00 - Introduction and agenda 03:58 - UI automation overview 06:26 - Prepare your app for automation 11:32 - Record your interactions 17:30 - Replay in multiple configurations 20:54 - Review videos and results 24:16 - Next steps More Apple Developer resources: Video sessions: https://apple.co/VideoSessions Documentation: https://apple.co/DeveloperDocs Forums: https://apple.co/DeveloperForums App: https://apple.co/DeveloperApp