Pinch¶
- class Pinch¶
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:
- 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
- GetPinchDuration()¶
Returns the value of the pinch duration.
- Returns:
Value of pinch duration
- Return type:
str
- GetPinchDurationUnit()¶
Returns the unit of the pinch duration.
- Returns:
Unit of pinch duration
- Return type:
str
- GetPos1X()¶
Returns the value of the first coordinate of first finger.
- Returns:
Value of first finger’s x-coordinate
- Return type:
str
- GetPos1XUnit()¶
Returns the unit of the first coordinate of first finger.
- Returns:
Unit of first finger’s x-coordinate
- Return type:
str
- GetPos1Y()¶
Returns the value of the seconed coordinate of first finger.
- Returns:
Value of first finger’s y-coordinate
- Return type:
str
- GetPos1YUnit()¶
Returns the unit of the seconed coordinate of first finger.
- Returns:
Unit of first finger’s y-coordinate
- Return type:
str
- GetPos2X()¶
Returns the value of the first coordinate of second finger.
- Returns:
Value of second finger’s x-coordinate
- Return type:
str
- GetPos2XUnit()¶
Returns the unit of the first coordinate of second finger.
- Returns:
Unit of second finger’s x-coordinate
- Return type:
str
- GetPos2Y()¶
Returns the value of the second coordinate of second finger.
- Returns:
Value of second finger’s y-coordinate
- Return type:
str
- GetPos2YUnit()¶
Returns the unit of the second coordinate of second finger.
- Returns:
Unit of second finger’s 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
- GetScaleFactor()¶
Returns the scaling factor of gesture.
- Returns:
Scale factor
- 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’)