Can not able to find elements of drop-down

前提是你 提交于 2020-01-16 19:47:07

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!