Assertion Failure: UI Testing Failure - Failure fetching attributes for element

Originator:rohitm
Number:rdar://24498467 Date Originated:4-feb-2016
Status:Open Resolved:Open
Product:Developer Tools Product Version:Xcode 7.3 beta 2, iOS 9.3 beta 1
Classification:Serious Bug Reproducible:Sometimes
 
Summary:
While running the UI test suite with multiple test cases, we are getting the following error

Assertion Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x1491befb0> pid: 1651, context: 4D9272C7-3024-4062-B0FA-E16EF426F17A, payload: {
    pid = 1651;
    "uid.elementID" = 2519;
    "uid.elementOrHash" = 5912482912;
}: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202}

Steps to Reproduce:


Expected Results:
Should not fail with this error

Actual Results:
Failing with this error

Comments

Hitting the same here. A restart of Xcode occasionally seems to fix it.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!