Web step argument reference

This section lists the Web actions used for the Digital 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

X Offset

pixels

int

0

-

element's center

Y Offset

pixels

int

0

-

element's center

Number of Touches

-

int

1

10

1

Touches Distance

pixels

int

0

-

100

Touches Angle

degrees

int

0

-

0

Long Press

Duration

milliseconds

int

1

-

1000

X Offset

pixels

Int

0

-

element's center

Y Offset

pixels

int

0

-

element's center

Number of Touches

-

int

1

10

1

Touches Distance

pixels

int

0

-

100

Touches Angle

degrees

int

0

-

0

Double Tap

Duration

milliseconds

int

1

-

1000

X Offset

pixels

Int

0

-

element's center

Y Offset

pixels

int

0

-

element's center

Interval

milliseconds

int

10

-

250

Number of Touches

-

int

1

10

1

Touches Distance

pixels

int

0

-

100

Touches Angle

degrees

int

0

-

0

Pinch

Points Initial Distance *

pixels

int

1

-

-

Points Final Distance *

pixels

int

1

-

-

Center X Offset

pixels

int

0

-

-

Center Y Offset

pixels

int

0

-

-

Duration

milliseconds

int

1

-

1000

Angle

degrees

int

0

-

0

Enlarge

Points Initial Distance *

pixels

int

1

-

-

Points Final Distance *

pixels

int

1

-

-

Center X Offset

pixels

int

0

-

-

Center Y Offset

pixels

int

0

-

-

Duration

milliseconds

int

1

-

1000

Angle

degrees

int

0

-

0

Swipe

Start X Offset *

pixels

int

0

-

-

Start Y Offset *

pixels

int

0

-

-

End X Offset *

pixels

int

0

-

-

End Y Offset *

pixels

int

0

-

-

Duration

milliseconds

int

5

-

1000

Number of Touches

-

int

1

10

1

Touches Distance

pixels

int

0

-

100

Touches Angle

degrees

int

0

-

0

Touch and Drag

Start X Offset *

pixels

int

0

-

-

Start Y Offset *

pixels

int

0

-

-

End X Offset *

pixels

int

0

-

-

End Y Offset *

pixels

int

0

-

-

Duration

milliseconds

int

5

-

1000

Number of Touches

-

int

1

10

1

Touches Distance

pixels

int

0

-

100

Touches Angle

degrees

int

0

-

0

Initial Press Duration

milliseconds

int

0

-

200

Rotate

Initial Angle

degrees

int

               0

360

0

Rotate *

degrees

int

0

-

-

Center X Offset

pixels

int

0

-

element's center

Center Y Offset

pixels

int

0

-

element's center

Radius *

pixels

int

0

-

-

Duration

milliseconds

int

5

-

1000

Clockwise

boolean

boolean

-

-

true

Rotate and Pinch

Initial Angle

degrees

int

               0

360

0

Rotate *

degrees

int

0

-

-

Center X Offset

pixels

int

0

-

element's center

Center Y Offset

pixels

int

0

-

element's center

Radius *

pixels

int

0

-

-

Final Radius *

pixels

int

0

-

-

Duration

milliseconds

int

5

-

1000

Clockwise

boolean

boolean

-

-

true

Back to top

See also: