Unable to record the right-click action on a Mac operating system
When you record a Web UI test and generate the test on a Mac operating system, the right-click action is not recorded correctly.
Cause
The right-click action is not recorded correctly if the handleEvent method does not pick the correct element.
Resolution
You must perform the following steps:
- Open the test script to edit.
- Select the step before which you want to add a right-click action in the Test Contents area.
- Click Insert and select User
action or right-click the selected step and click .
A user action is added to the test script just before the selected step. The new user action is listed as an error until you select a Graphic object.
- Select a Graphic object, and then select Object's Action as Right-click in the User Action Details section.
- Add the additional details of the object such as Object identified by and Object location.
- Save the test.