Other Protocols
The following protocols are available globally.
-
Protocol defining health alert OK element.
See more
-
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 more
-
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 more -
Protocol defining location alert cancel element.
See more -
Protocol defining location alert deny element.
See more -
Protocol defining location alert ok element.
See more -
Protocol defining location alert allow always element.
See more -
Protocol defining location alert when in use only element.
See more