How to select the values from dropdown in ios hybrid application

949 views
Skip to first unread message

chelladur...@photoninfotech.net

unread,
Dec 18, 2013, 8:52:27 AM12/18/13
to appium-...@googlegroups.com
Hi,

Am new to selenium appium i don't know how to select the particular value from drop-down list in ios application

Used the below mentioned code

driver.findElement(By.xpath("//window[1]/scrollview[1]/webview[1]/element[2]")).sendKeys("3X5");


Regards
chelladurai

jha...@cohesion.com

unread,
Apr 3, 2014, 11:01:35 AM4/3/14
to appium-...@googlegroups.com
Hi Chelladurai,

Did you ever get this resolved?

If not then here is what I had to do to get this to work.

I had to do two different steps:
1) I had to click on the dropdown element itself
2) I had to sendKeys("3X5") to the listView element that displays after the dropdown is clicked

Does that work for you? Did you find an easier way?
Reply all
Reply to author
Forward
0 new messages