1 year ago
#363817
pvd
How to exit XCUItest without killing the app?
For some reason, we have to use XCUItest to start the target app, and just make it stay in the screen.
In order to make it be kept on the screen, we've tried to add sleep
at the end of the case, as:
for _ in 0..<10 {
// some case here
tapCoordinate(x y)
sleep(7200)
}
But it seems that xctest make the got stuck:
I was wondering if there's any idea to just start the app and leave xctest?
ios
testing
xctest
xcuitest
0 Answers
Your Answer