To ascertain that the app works as designed, run the test
on the device or in a browser. Before running the test, to test the
various functional aspects of the app, you can edit the test by adding
verification points, loops, and conditions.
About this task
A
Web UI test
can be run in the same web browser that was used for the recording
but you can use other web browsers too. When you play back a test
on a web browser that was not used for the recording, you test the
functionality of the app on a different browser. If the same app is
rendered on a mobile device, you can play back the same test on a
mobile device or emulator. Doing so ensures that the test coverage
is complete in terms of various modes through which the app can be
accessed. When you run a Web UI test on a mobile device, the RTW Mobile
Web Recorder is used for playback. You can also run the test from
a compound test or as part of keyword execution from
IBM® Rational® Quality Manager.
Procedure
- To open a test, double-click it in the Test Navigator view.
- In the Test editor, click Run Test.
- In the Run Configuration dialog
box, in the Run using column, select the web
browser or mobile device on which to run the test.
Note: - Only those web browsers that are installed on your computer and
supported by the Web UI extension
are displayed in the list.
- To run a Web UI test
on a mobile device or emulator, the device must be connected with
the test workbench and
must be in the passive mode.
- Click Finish. The
selected web browser opens and the test is played back. If you are
playing back on a mobile device, the test plays back on the device.
Do not perform any action on the web browser or the mobile device
while the test is playing back. The statistical and live reports display
the live data as the test is played back.
Results
After the test run completes, the statistical and live reports,
and the test log are displayed. To view a functional report, you must
generate it manually by right-clicking a report in the
Results folder
and click
Generate Functional Test Report.
The
Resources tab in the statistical report
is empty because a
Web UI test
does not monitor resources.