Page tree
Skip to end of metadata
Go to start of metadata

Description

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

Parameters

Name

Value

Description

List Zone Name

String with available zones

  • NATIVE
  • WEB
  • TEXT
Zones which define the way the element will be identified.
List locatorStringA String identifier of List locator
List Zone Name

String with available zones

  • NATIVE
  • WEB
  • TEXT
Zones which define the way the element will be identified.
Element locatorStringA String identifier of Element locator
IndexIntegerElement Index
ClickBooleanIf true then click

Usage

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.

ElementListPick
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);



  • No labels