Hello, I’m using By.name locator to find element in my code but when i updated my appium version to 1.7.1 . Im not able to run my code using this Locator. It is depreciated in appium
Can anyone help me with alternative work arround as i do not have id for my elements and class name is same on that screen for all elements. Im stuck with this .
Okk Thanks.
I used MobileElement cityvalue = (MobileElement)driver.findElementByAndroidUIAutomator(“new UiSelector().text(“City”)”);
and it works for me.