Web step argument reference

This section lists the Web actions used for the OpenText Functional Testing Lab integration. These Web actions are supported when executing Web steps in TruClient - Native Mobile scripts.

Web actions for Native Mobile scripts

An asterisk * indicates a mandatory argument.

To learn more about the step arguments, view their tooltips in the Step editor.

Action > Arguments

Units

Type

Min value

Max value

Default

Tap > Duration

milliseconds

int

1

-

50

Tap > X Offset

pixels

int

0

-

element's center

Tap > Y Offset

pixels

int

0

-

element's center

Tap > Number of Touches

-

int

1

10

1

Tap > Touches Distance

pixels

int

0

-

100

Tap > Touches Angle

degrees

int

0

-

0

Long Press > Duration

milliseconds

int

1

-

1000

Long Press > X Offset

pixels

Int

0

-

element's center

Long Press > Y Offset

pixels

int

0

-

element's center

Long Press > Number of Touches

-

int

1

10

1

Long Press > Touches Distance

pixels

int

0

-

100

Long Press > Touches Angle

degrees

int

0

-

0

Double Tap > Duration

milliseconds

int

1

-

1000

Double Tap > X Offset

pixels

Int

0

-

element's center

Double Tap > Y Offset

pixels

int

0

-

element's center

Double Tap > Interval

milliseconds

int

10

-

250

Double Tap > Number of Touches

-

int

1

10

1

Double Tap > Touches Distance

pixels

int

0

-

100

Double Tap > Touches Angle

degrees

int

0

-

0

Pinch > Points Initial Distance *

pixels

int

1

-

-

Pinch > Points Final Distance *

pixels

int

1

-

-

Pinch > Center X Offset

pixels

int

0

-

-

Pinch > Center Y Offset

pixels

int

0

-

-

Pinch > Duration

milliseconds

int

1

-

1000

Pinch > Angle

degrees

int

0

-

0

Enlarge > Points Initial Distance *

pixels

int

1

-

-

Enlarge > Points Final Distance *

pixels

int

1

-

-

Enlarge > Center X Offset

pixels

int

0

-

-

Enlarge > Center Y Offset

pixels

int

0

-

-

Enlarge > Duration

milliseconds

int

1

-

1000

Enlarge > Angle

degrees

int

0

-

0

Swipe > Start X Offset *

pixels

int

0

-

-

Swipe > Start Y Offset *

pixels

int

0

-

-

Swipe > End X Offset *

pixels

int

0

-

-

Swipe > End Y Offset *

pixels

int

0

-

-

Swipe > Duration

milliseconds

int

5

-

1000

Swipe > Number of Touches

-

int

1

10

1

Swipe > Touches Distance

pixels

int

0

-

100

Swipe > Touches Angle

degrees

int

0

-

0

Touch and Drag > Start X Offset *

pixels

int

0

-

-

Touch and Drag > Start Y Offset *

pixels

int

0

-

-

Touch and Drag > End X Offset *

pixels

int

0

-

-

Touch and Drag > End Y Offset *

pixels

int

0

-

-

Touch and Drag > Duration

milliseconds

int

5

-

1000

Touch and Drag > Number of Touches

-

int

1

10

1

Touch and Drag > Touches Distance

pixels

int

0

-

100

Touch and Drag > Touches Angle

degrees

int

0

-

0

Touch and Drag > Initial Press Duration

milliseconds

int

0

-

200

Rotate > Initial Angle

degrees

int

               0

360

0

Rotate > Rotate *

degrees

int

0

-

-

Rotate > Center X Offset

pixels

int

0

-

element's center

Rotate > Center Y Offset

pixels

int

0

-

element's center

Rotate > Radius *

pixels

int

0

-

-

Rotate > Duration

milliseconds

int

5

-

1000

Rotate > Clockwise

boolean

boolean

-

-

true

Rotate and Pinch > Initial Angle

degrees

int

               0

360

0

Rotate and Pinch > Rotate *

degrees

int

0

-

-

Rotate and Pinch > Center X Offset

pixels

int

0

-

element's center

Rotate and Pinch > Center Y Offset

pixels

int

0

-

element's center

Rotate and Pinch > Radius *

pixels

int

0

-

-

Rotate and Pinch > Final Radius *

pixels

int

0

-

-

Rotate and Pinch > Duration

milliseconds

int

5

-

1000

Rotate and Pinch > Clockwise

boolean

boolean

-

-

true

Back to top

See also: