IOS app not responding when writing UI

I am trying to record a UI test for my iPad app. When I click on a tab bar item to navigate to another screen, record my actions correctly, but my app is not responding at all. Subsequently, when I run my test, it actually goes to the corresponding screen.

Any idea what might be causing this behavior?

Thank.

- (void)testAddActivity {
    XCUIElementQuery *tabBar = [[XCUIApplication alloc] init].tabBars;
    XCUIElement *activitiesButton = tabBar.buttons[@"Activities"];
    [activitiesButton tap]; //App does not responding in recording
}

      

+3
user-interface ios ios9 testing xcode-ui-testing


source to share


No one has answered this question yet

Check out similar questions:

958
How do I change the name of an iOS app?
31
Xcode7 | Xcode Interface Tests | How to deal with a location alert?
15
Xcode UI ids not working due to XCApplicationStateRunningActive on physical device
4
Is there a way to write UI tests to force-click on an iOS app?
4
UISearchController Extra tap required to become first responder
3
Can't push UIBarButtonItem in XIode UI Test
2
Application crashes due to zombies when switching tabs
1
Get into rootviewcontroller when tabbarcontroller is fired?
0
Navigation not responsive on iPad with iOS 8
0
Ios 6 navigation bar and status bar overlap



All Articles
Loading...
X
Show
Funny
Dev
Pics