Skip to main content

SeeTest Client - 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

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