I’m new to this appium tool. I have followed the same as above code but its not working for me.
My application having only views (resource id is restricted in my application) . I want to get the text of selected one.
I’m using android 4.4.2 version.
This is my code:
driver.findElementByAndroidUIAutomator(“new UiSelector().className("android.view.View").index(0).instance(1).childSelector(new UiSelector().className("android.view.View").index(1))”);
UI Automator Snapshot:
Your help is highly appreciated !! Thanks in advance.