mardi 28 février 2017

iOS UITests - What purpose XCUIElements identifier serves

While woking on iOS UITests, I found XCUIElement has a property, identifier, which was confronted from XCUIElementAttributes. When I debug, I found this is a real-only property and always contains empty string. Can anyone explain what purpose this property serves? I am unable to get any distinguishing property between two XCUIElement

I cannot change the identifier, its immutable.

enter image description here

Aucun commentaire:

Enregistrer un commentaire