UI Test Failure - Application Status - XCApplicationStateRunningActive, Not XCApplicationStateNotRunning

I use XCUI tests to automate testing of some threads in our application (~ 35 test scripts) with Xcode 7.2.1

These tests will run locally sequentially, while running them on our virtual machine instance (Parallels, Mac mini, OSX 10.11, 8 GB RAM) will fail in different parts of the process.

I would get errors like:

UI Testing Failure - App state for <XCUIApplicationProcess: 0x7ff661528a50 (null) (6798)> is XCApplicationStateRunningActive (3), still not XCApplicationStateNotRunning (1)[0m 

I turned off the animation inside the application, and also set a significant waiting time throughout the application to try to satisfy the slow move, but not to the end.

Has anyone had problems starting XCUITests and exiting the simulator when they started?

Any help would be great.

+7
ios xcode-ui-testing ios-ui-automation xctest
source share

No one has answered this question yet.

See related questions:

958
How to change iOS app name?
680
How to connect to apps in the app store
588
How to check if a string is empty in Objective-C?
483
Launching iPhone development on Linux?
452
How are you beta testing the iphone app?
229
Tests / Features iOS TDD / BDD and Integration and Acceptance Tests
17
XCTests does not run the application in the simulator intermittently
8
UIAutomation with code coverage
5
iOS Simulator takes a very long time to download for the first time
one
Appium: Ruby: Distributed Tests with appium for iOS

All Articles