SeeTestAutomation - FlickElement
info
Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .
void flickElement(Zone, Element, Index, Direction)
Description
Flick the chosen element in the chosen direction
Parameters
- Zone: Select Zone
- Element: Select Element
- Index: Element index
- Direction: Direction of the Flicking motion
Usage
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.
Code Examples
Java Example
client.flickElement("NATIVE", "xpath=//*[@text='Phone']", 0, "Up");
C# Example Expand source
client.FlickElement("NATIVE", "xpath=//*[@text='Phone']", 0, "Up");
VBScript Example Expand source
client.FlickElement "NATIVE", "xpath=//*[@text='Phone']", 0, "Up"
Python Example Expand source
self.client.flickElement("NATIVE", "xpath=//*[@text='Phone']", 0, "Up")
Perl Example Expand source
client->flickElement("NATIVE", "xpath=//*[\@text='Phone']", 0, "Up");