jeudi 31 mars 2016

Why xpath Changes for UILabel for UITableViewCell in Appium?

I have UITableViewCell which has Subject,Name,Description,time. When I am testing this on Appium the xpath changed for UIElement for Subject line only. xpath:-subject line: //UIAApplication[1]/UIAWindow[1]/UIATableView[1]/UIATableCell[3]**/UIAStaticText[2]**

after changes xpath:-subject line: //UIAApplication[1]/UIAWindow[1]/UIATableView[1]/UIATableCell[3]**/UIAStaticText[3]**

Which is giving another UI element details. Which fails the testing. Please, help me how to handle this from Appium or do I need to fix it from Xcode.

Aucun commentaire:

Enregistrer un commentaire