What's New / App Services, Foundation & Diagnostics

What's new in XCUIAutomation

+2 NewiOS · macOS · tvOS · watchOS

XCUIAutomation is the UI testing API for Apple platforms, used from XCTest UI test targets to drive and query app interfaces. It models on-screen elements, simulates user interaction, and exposes device and accessibility state to tests.

Two new APIs, no deprecations or removals. Both target VoiceOver from tests: a voiceOverService entry point and the XCUIVoiceOverServiceErrorDomain error domain for failures from that service.

New

2
var

voiceOverService

NewiOSmacOStvOSwatchOS
open var voiceOverService: XCUIVoiceOverService { get }
let

XCUIVoiceOverServiceErrorDomain

NewiOSmacOStvOSwatchOS
public let XCUIVoiceOverServiceErrorDomain: String

Error domain for XCUIVoiceOverService errors.

No APIs match your filter.

← More in App Services, Foundation & Diagnostics