Other Protocols
The following protocols are available globally.
-
Protocol defining health alert allow element and messages.
See moreDeclaration
Swift
public protocol HealthAlertAllow: SystemMessages
-
Protocol defining health alert deny element and messages.
See moreDeclaration
Swift
public protocol HealthAlertDeny: SystemMessages
-
Protocol defining health alert
See moreturn off all
element and messages.Declaration
Swift
public protocol HealthAlertTurnOffAll: SystemMessages
-
Protocol defining health alert
See moreturn on all
element and messages.Declaration
Swift
public protocol HealthAlertTurnOnAll: SystemMessages
-
Protocol defining health alert OK element.
See moreDeclaration
Swift
public protocol HealthAlertOk: SystemAlertOk
-
Any type that implements this protocol can be used to configure application with TestLauncher. Type conforming to this protocol should override default implementation of launchArguments or launchEnvironments. Choice depends on which type of configuration option it represents. For more info about launch arguments and environment variables check: here
See moreDeclaration
Swift
public protocol LaunchOption
-
Helper protocol used to reads localized messages from JSON files.
See moreDeclaration
Swift
public protocol SystemMessages
-
Protocol defining system alert allow element.
See moreDeclaration
Swift
public protocol SystemAlertAllow: SystemMessages
-
Protocol defining system alert deny element.
See moreDeclaration
Swift
public protocol SystemAlertDeny: SystemMessages
-
Protocol defining system alert ok element.
See moreDeclaration
Swift
public protocol SystemAlertOk: SystemMessages
-
Protocol defining system alert cancel element.
See moreDeclaration
Swift
public protocol SystemAlertCancel: SystemMessages
-
Types implementing this protocol can be configured with launch options and variables by the
See moreTestLauncher
.Declaration
Swift
public protocol Application
-
Protocol for types that implement
See moredescendantsMatchingType
method.Declaration
Swift
public protocol DescendantsMatching
-
Protocol used to identify object, eg. PageObject, in the view hierarchy.
Example:
See moreopen class MainPage: BaseAppPage { open var tableView: XCUIElement { return view.tables["tableView"] } } extension MainPage: IdentifiableByElement { public var identifingElement: XCUIElement { return tableView } }
Declaration
Swift
public protocol IdentifiableByElement
-
Application language. More info: https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPInternational/LanguageandLocaleIDs/LanguageandLocaleIDs.html
See moreDeclaration
Swift
public protocol LanguageLaunchArgument: LaunchArgument
-
Application locale. More info: https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPInternational/LanguageandLocaleIDs/LanguageandLocaleIDs.html
See moreDeclaration
Swift
public protocol LocaleLaunchArgument: LaunchArgument
-
Application keyboard.
See moreDeclaration
Swift
public protocol KeyboardLaunchArgument: LaunchArgument
-
Protocol defining location alert allow element.
See moreDeclaration
Swift
public protocol LocationAlertAllow: SystemAlertAllow
-
Protocol defining location alert cancel element.
See moreDeclaration
Swift
public protocol LocationAlertCancel: SystemAlertCancel
-
Protocol defining location alert deny element.
See moreDeclaration
Swift
public protocol LocationAlertDeny: SystemAlertDeny
-
Protocol defining location alert ok element.
See moreDeclaration
Swift
public protocol LocationAlertOk: SystemAlertOk
-
Protocol defining location alert allow always element.
See moreDeclaration
Swift
public protocol LocationAlwaysAlertAllow: SystemAlertAllow
-
Protocol defining location alert when in use only element.
See moreDeclaration
Swift
public protocol LocationAlwaysAlertAllowWhenInUseOnly: SystemAlertCancel