iOS native app automation testing
Examples
Testing your app
Add APLConfiguration subclass to UI testing bundle
Ensure allowInvalidSignatures returns YES/true
@objcMembers class ExampleConfiguration: APLConfiguration {
...
override func allowInvalidSignatures() -> Bool {
return !ENCRYPTED()
}
...@implementation ExampleConfiguration
...
- (BOOL) allowInvalidSignatures {
#if DEBUG
return YES;
#else
return NO;
#endif
}
...Add an UIInterruptionMonitor
Create instance of APLConfiguration subclass
Apply configuration to XCUIApplication
Additional automation launch methods
Applying configuration at runtime to the app under test
Invoking functionality in the app under test at runtime
Instrument the app under test
Invoke functionality from your XCTestCase
Last updated

