Make sure that your app’s user interface behaves correctly when expected actions are performed.
Framework
- XCTest
Make sure that your app’s user interface behaves correctly when expected actions are performed.
Framework
Element queries locate UI elements within your app's interface for testing and validation.
class XCUIElement Query
A query for locating UI elements.
protocol XCUIElement Type Query Provider
Provides ready-made queries for locating descendant UI elements.
class XCUIElement
A UI element in an application.
protocol XCUIElement Attributes
Attributes exposed by UI elements.
class XCUICoordinate
A location on screen relative to some UI element.
class XCUIApplication
A proxy for an application that can be launched and terminated.
class XCUIScreen
A physical screen attached to a device.
class XCUIScreenshot
A captured image of a screen, app, or UI element state.
protocol XCUIScreenshot Providing
A type that can provide a screenshot of its current UI state.
class XCUIDevice
Simulates physical buttons, device orientation, and Siri interaction for an iOS device.
class XCUISiri Service
Simulates a device’s Siri interface.
class XCUIRemote
Simulates interaction with a physical remote control.
var XCT _UI _TESTING _AVAILABLE: Int32
Indicates whether the current environment supports UI testing.