Adding hardware actions in a test

You can add hardware actions to your test by using a physical widget to add an action in the test script. You can test web hardware actions such as go back, move forward, reload and some others.

Before you begin

You must have created a test from a recording and have the test script open in the test editor.

About this task

This action applies only to tests created from Android or iOS apps.

Procedure

  1. In the Rational® Test Workbench , open a test script and in the Test Contents area, click the launch app node where the action is to be added.
  2. The values are different for Web UI apps and Android apps.
  3. In the Test Element Details section, select an item in the list of object’s actions. You can enter a value for the timeout too. The new action is added before the script item that you had initially selected in the launch node.
  4. Save the test.

Feedback