Running a Web UI test using IBM® Engineering Test Management

Another way to automate your testing is to use IBM® Engineering Test Management. With Engineering Test Management, you can run an individual Web UI test or specify a particular browser to run the test on. You can also accelerate your testing by running the test on all browsers and mobile devices simultaneously or on a selected set of browsers.

About this task

To run a test from Engineering Test Management, you first define a test in Engineering Test Management that includes the path to the Web UI test. You then configure and run the Engineering Test Management adapter that is installed by default when you install HCL DevOps Test UI (Test UI).

Procedure

  1. Using the Test Workbench script details page of a Engineering Test Management test script, associate a Web UI test script with the Engineering Test Management script as shown below:

    Test Workbench script details in RQM test

    Be sure to specify the value in the Script Path field to be the path to the Web UI test script. For additional details, see Creating a reference to an automated test script on a local test machine.

  2. To run the test on a set of browsers or on all browsers and connected mobile devices, go to the Execution Variables page of the Engineering Test Management test script and specify the execution variable to pass to the script.

    Execution variables

    1. To run the test on all available browsers and connected mobile devices, use the execution variable AllAvailableTargetsInParallel and specify the value as All.
    2. To run the test on a selected set of browsers, use the execution variable AllAvailableTargetsInParallel and specify the value as a comma-separated list of browsers, for example, chrome, ff.
    3. To run the test on a particular browser, use the execution variable RTW_WebUI_Browser_Selection and specify the browser as the value, for example, chrome.
      Note: You can also use RTW_WebUI_Browser_Selection as a test variable in the Test UI UI Test perspective. For details, see Defining a variable to run a test with a selected browser.
  3. Save the test and run it using the Engineering Test Management adapter.