How-to
Right click (rightClick)
Right click (rightClick)
Right-clicks the Target. The step has no modifiers, coordinates, or forced click.
Step model
action_name | rightClick |
| Group | Pointer |
| Target | Required |
| Value | Unused |
| expected_value | Unused |
| TEST_ACCOUNT | Forbidden |
| Do not confuse with | click, dblclick |
Target/Value facts match the source-of-truth catalog and Autotest step.
Prerequisites
- The element is visible and accepts a right click.
Steps
- Add a
rightClickstep. - Set Target.
- Leave Value empty.
- Save.
The step is stored on the autotest. Next - neighbouring steps or autotest run creation.
Examples
Table row
Fields in the UI:
| Field | Value |
|---|---|
action_name | rightClick |
| Target | kind ROLE, value row, name Order 17 |
Step JSON fragment (copy-paste):
json
{
"action_name": "rightClick",
"target": {
"kind": "ROLE",
"value": "row",
"name": "Order 17"
}
}Common mistakes
- Do not look for a mouse-button field: the right click is the
rightClickaction itself.
Screenshots
Screenshots of the step form for rightClick will be added here in a later pass.
Did this page help?