I am using Eclipse Junit write test cases for iOS. Test cases works fine in one version which I wrote for , but when test new version builds many xPath of the element will change so I have to change them manually. It will cost me a lot of time to change them, any better solution for this problem.
I am trying to use find element by name or Id but some elements only xPath and location can be traceable by Appium Inspector.
This blog http://blog.prototest.com/appium-xpath-locators-ios26 recommend me to use location, but I did do that, because by using find element by location, the test cases may not success in other devices with different screen resolution. please collect me if I am wrong.
created
Dec '14
last reply
May '18
- 9
replies
- 1.8k
views
- 7
users
- 1
link