Select an element from the Object Repository in a list (first make the element visible) Equivalent command to elementListSelect command.
Select an element from the Object Repository in a list (first make the element visible) Equivalent command to elementListSelect command. |
Note: This command will work only on instrumented applications |
Name | Value | Description |
---|---|---|
List Zone Name | String with available zones
| Zones which define the way the element will be identified. |
List locator | String | A String identifier of List locator |
List Zone Name | String with available zones
| Zones which define the way the element will be identified. |
Element locator | String | A String identifier of Element locator |
Index | Integer | Element Index |
Click | Boolean | If true then click |
Uses zones to identify the list Locator and the element Locator
Set Experitest Url Please make sure you replace <EXPERITEST_URL> with appropriate URL in the code snippet below.
|
Example
Image and code below displays how this command can be used.
DesiredCapabilities dc = new DesiredCapabilities(); driver = new AndroidDriver(new URL("<EXPERITEST_URL>"), dc); seetest = new SeeTestClient(driver); dc.setCapability(MobileCapabilityType.UDID, "<deviceid>"); ... ... // seetest.elementListPick("NATIVE", "id=countryList", "NATIVE", "text=United Kingdom", 0, true); |