HoldAndSwipe¶
- class HoldAndSwipe¶
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:
- GetEndX()¶
Returns the value of the first coordinate of the final position.
- Returns:
Value of x-coordinate
- Return type:
str
- GetEndXUnit()¶
Returns the unit of the first coordinate of the final position.
- Returns:
Unit of x-coordinate
- Return type:
str
- GetEndY()¶
Returns the value of the second coordinate of the final position.
- Returns:
Value of y-coordinate
- Return type:
str
- GetEndYUnit()¶
Returns the unit of the second coordinate of the final position.
- Returns:
Unit of y-coordinate
- Return type:
str
- 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
- GetPrompt()¶
Returns the prompt expression for the touch input action.
- Returns:
The prompt expression for the touch input action
- Return type:
str
- GetStartX()¶
Returns the value of the first coordinate of the starting position.
- Returns:
Value of x-coordinate
- Return type:
str
- GetStartXUnit()¶
Returns the unit of the first coordinate of the starting position.
- Returns:
Unit of x-coordinate
- Return type:
str
- GetStartY()¶
Returns the value of the second coordinate of the starting position.
- Returns:
Value of y-coordinate
- Return type:
str
- GetStartYUnit()¶
Returns the unit of the second coordinate of the starting position.
- Returns:
Unit of y-coordinate
- Return type:
str
- GetSwipeDuration()¶
Returns the value of the swipe duration.
- Returns:
Swipe duration
- Return type:
str
- GetSwipeDurationUnit()¶
Returns the unit of the swipe duration.
- Returns:
Swipe duration
- 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’)
- SetPrompt(prompt)¶
Sets the prompt expression for the touch input action.
- Parameters:
- prompt : str¶
The prompt expression for the touch input action