Unable to locate element issues encountered in Android 7 though device is showing element in the screen


#1

Unable to locate element issues encountered in Android 7 and then hangs there forever. However the same tests are running fine with a lower Android OS such as Lollipop 5.0,6.0.Please help out asap.

Appium v1.7.2 has been used.
Android version 7.0


#2

Check to see if the element is still the same in Android 7. I have seen the case change for the same element between Android 5,6 and 7.
Lets say you are looking for a Login button. The xpath might look like //*[@text=“login”]
In Android 5 it might show as “login” in Android 7 it might show up as “LOGIN”


#3

Thank you for replying.I am using id as element and ID “co.live.hihoandroidwebapp:id/tv_layout_job_application” is same in Android 5,6 and 7.I am unable to solve this issue.


#4

Please anyone help me out with this problem asap :frowning:


#5

Thank you for replying.I am using id as element and ID “co.live.hihoandroidwebapp:id/tv_layout_job_application” is same in Android 5,6 ,7 and 8 I am unable to solve this issue.Please help me out with this problem asap.