mardi 28 février 2017

iOS UITests - How to distinguish two different XCUIElement?

While iOS UITesting, how can I distinguish between two different XCUIElement?

For example I have two different UIButton with same label string "Button". How to check they are different? Do XCUIElement provides ID or any distinct property?

Aucun commentaire:

Enregistrer un commentaire