FlickElement
Description
Flick the chosen element in the chosen direction
Parameters
| Name | Value | Description | 
|---|---|---|
| Zone | *   NATIVE * WEB * TEXT | Zones which define the way the element will be identified. | 
| Element | String which identifies the Element | Identification of Element in the device screen. Example: Button, Text Box. | 
| Element index | Integer representing index of the Element | |
| Direction | String | Direction of the Flicking motion | 
Usage
Command can be used to flick an element from its center, in the chosen direction.
As a visible aid, an arrow will be drawn on the reflection showing the flick motion.
info
Replace <server> with the appropriate URL.
- Public Digital.ai Testing Cloud - https://cloud.seetest.io/wd/hub/.
- Dedicated Digital.ai Testing Cloud environment - Your own domain. For example: https://company.experitest.com/wd/hub/
- On-premises Digital.ai Testing Cloud environment - Your designated URL. For example: https://company.com/wd/hub
FlickElement
DesiredCapabilities dc = new DesiredCapabilities();
driver = new AndroidDriver(new URL("<server>"), dc);
seetest = new SeeTestClient(driver);
dc.setCapability(MobileCapabilityType.UDID, "<deviceid>");
     
...
...
seetest.flickElement("NATIVE", "xpath=//*[@text='Phone']", 0, "Up");