With the test editor, you
can view and customize a mobile test imported in the test workbench or uploaded from
a mobile device or simulator after recording.
The mobile test editor displays the test scripts. The edited test
displays the list of actions and UI elements uploaded from a mobile
device during the recording phase. Actions are represented in natural
language, which allows you to modify the test manually.
There are two main areas in the test editor window. The area on
the left,
Test Contents, displays the chronological
sequence of events in the test. The area on the right,
Test
Element Details, displays details about the currently selected
action in the test script. In this area you can select a graphic object,
an action related to the object, and its location. You can also define
a time out and user’s think time to execute your test.
Note: Note
that the maximum think time preference is ignored in mobile tests.
Figure 1. Mobile test editor
When actions are selected in the Test Contents list,
the Mobile Data view is automatically synchronized
to display the screen captures of the user interface of the app during
the recording. You can use the Mobile Data view
to select user interface (UI) elements and add some verification points,
or variables and modify steps in the test with simplified scripts.
Or you can create or modify a set of steps manually directly in the
test script.
You can add datapools, test variables, verification points, or
stubs in your script.
CAUTION:
The mobile client does
not support data substitution. When a test is run from the mobile
client, the values displayed are those entered during the recording,
references and substitutions are not generated in the test. You must
run the test from the workbench to verify substitutions.