Rotate¶
- class Rotate¶
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
- 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
- GetRotationAngle()¶
Returns the value of the rotation angle.
- Returns:
Value of rotation angle
- Return type:
str
- GetRotationAngleUnit()¶
Returns the unit of the rotation angle.
- Returns:
Unit of rotation angle
- Return type:
str
- GetRotationDuration()¶
Returns the value of the rotation duration.
- Returns:
Value of rotation duration
- Return type:
str
- GetRotationDurationUnit()¶
Returns the unit of the rotation duration.
- Returns:
Unit of rotation 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