The Mobile and Web UI Data view offers
graphical and hierarchical views of the current step in a test. It
also displays a table of properties associated with a selected object.
You can also use this view to quickly create user actions, adding
steps to the test using the selected graphical elements.
Before you begin
You must have created a test from a recording and have the
test script open in the test editor. This task is applicable to Android,
iOS, hybrid and Web UI applications.
About this task
You can add actions for any of the widgets in the
Mobile
and Web UI Data view.
Procedure
To add a user action in a test from the Mobile
and Web UI Data view:
- In the Test Contents area of the
test editor, click an action item.
- In the Screen capture view, select
a graphical object or the corresponding element in the hierarchical
list Elements, and then right-click and select Add
user action for this element In the test
editor, a step is added just before the current selected node.
- In the Test Element Details section,
select a value for the action of the object.
- Save the test.