问题
I'm trying to write automated test cases of Cordova hybrid app using appium on android platform but I'm not able to find elements of the drop-down.
this is the image of my application screen.
and the page source of this drop-down is :
<android.view.View index="2" text="Captain Marvel Thor Iron Man Captain America Hulk Adam Warlock" class="android.view.View" package="com.cisco.iot.kinetic" content-desc="" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="true" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[56,1386][1386,2201]" resource-id="" instance="25"/></android.view.View>
So how can I find elements of this and,
I already try using List<WebElement>
and child of this array but didn't work for me.
Please help me get rid of this problem.
来源:https://stackoverflow.com/questions/55708412/can-not-able-to-find-elements-of-drop-down