MultiTap

class MultiTap

Returned by

Clone()

Call this method if you want to use API-objects in multiple contexts, e.g. if you want to insert a specific test step in multiple blocks.

Returns:

A copy of this object

Return type:

MultiTap

GetCount()

Returns the number of successive taps.

Returns:

Number of taps

Return type:

str

GetInputParameterType()

Returns the type of the touch input action parameters.

Returns:

The type of the touch input action parameters (‘Coordinates’ or ‘Prompt’)

Return type:

str

GetInterval()

Returns the value of the time interval between successive taps.

Returns:

Value of time interval between taps

Return type:

str

GetIntervalUnit()

Returns the unit of the time interval between successive taps.

:return:Unit of time interval between taps :rtype: str

GetName()

Returns the name of the touch input action

Returns:

The name of the touch input action

Return type:

str

GetPosX()

Returns value of the first coordinate.

Returns:

Value of x-coordinate

Return type:

str

GetPosXUnit()

Returns unit of the first coordinate.

Returns:

Unit of x-coordinate

Return type:

str

GetPosY()

Returns value of the second coordinate.

Returns:

Value of y-coordinate

Return type:

str

GetPosYUnit()

Returns unit of the second coordinate.

Returns:

Unit of y-coordinate

Return type:

str

GetPrompt()

Returns the prompt expression for the touch input action.

Returns:

The prompt expression for the touch input action

Return type:

str

SetCount(expr)

Sets the number of successive taps.

Parameters:
expr : str

Number of taps

SetInputParameterType(parameterType)

Sets the type of the touch input action parameters.

Parameters:
parameterType : str

The type of the touch input action parameters (‘Coordinates’ or ‘Prompt’)

SetInterval(expr, unit='s')

Sets the time interval between successive taps.

Parameters:
expr : str

Time interval between taps

unit : str

unit of time interval, milliseconds ‘ms’ or seconds ‘s’

SetPosX(expr, unit='px')

Sets first coordinate of position.

Parameters:
expr : str

expression for x-coordinate of position

unit : str

unit of x-coordinate, absolute ‘px’ or relative ‘%’

SetPosY(expr, unit='px')

Sets second coordinate of position.

Parameters:
expr : str

expression for y-coordinate of position

unit : str

unit of y-coordinate, absolute ‘px’ or relative ‘%’

SetPrompt(prompt)

Sets the prompt expression for the touch input action.

Parameters:
prompt : str

The prompt expression for the touch input action