waitForTappableViewWithAccessibilityLabel
waitForViewWithAccessibilityLabel
tapViewWithAccessibilityLabel
enterText: intoViewWithAccessibilityLabel:
Examples:
[tester waitForTappableViewWithAccessibilityLabel:@"Login Button"];
[tester tapViewWithAccessibilityLabel:@"Login Button"];
[tester waitForViewWithAccessibilityLabel:@"UserName Field"];
[tester enterText:@"myUserName" intoViewWithAccessibilityLabel:@"UserName Field"];
[tester enterText:@"myPassword" intoViewWithAccessibilityLabel:@"Password Field"];
[tester tapViewWithAccessibilityLabel:@"Submit Button"];
// Back to main view
[tester waitForViewWithAccessibilityLabel:@"Login Button"];
No comments:
Post a Comment