UI Test Error - Snapshot error for element Error -25201

I am currently facing this issue when running tests for iOS

Assertion Failure: UI Testing Failure - Failure getting snapshot Error Domain=XCTestManagerErrorDomain Code=9 "Error -25201 getting snapshot for element <AXUIElement 0x7faf7b4173f0> {pid=84523}" UserInfo={NSLocalizedDescription=Error -25201 getting snapshot for element <AXUIElement 0x7faf7b4173f0> {pid=84523}} 

Currently using Xcode v7.3.1, Cocoapods v1.0.1

I tried to remove DerivedData, Pods /, Podfile.lock and * .xcworkspace and run pod install after that. Bad luck. Still experiencing a mistake. First experience in Xcode 7.3. Updated and the problem continues.

Anyone who has experienced the same thing and resolved a problem? Please share your decision. Thank.

+43
ios xcode xcode7 xcode-ui-testing
Jun 22 '16 at 16:05
source share
1 answer

The https://forums.developer.apple.com/message/129839#129839 link states that there are several reasons for this, all of which are errors that have not yet been fixed. This article has several possible solutions. To do this, you need an Apple Developer account.

+2
Jun 25 '17 at 9:19 on
source share



All Articles