Hold¶
- class Hold¶
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:
- GetHoldDuration()¶
Returns the value of the hold duration.
- Returns:
Value of hold duration
- Return type:
str
- GetHoldDurationUnit()¶
Returns the unit of the hold duration.
- Returns:
Unit of hold duration
- 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
- 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
- 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’)