Running tests from a schedule

To run multiple Web UI tests in parallel on different browsers, you can add the test to an HCL DevOps Test Performance (Test Performance) schedule.

Before you begin

  • You must install Test Performance and Test UI into the same instance of Eclipse and use a single workspace (also called shell sharing).
  • To run a Web UI test on a remote computer, you must install Test Performance Agent on that computer. While installing the agent, ensure that you select the The agent will be used primarily to support remote execution of Web UI tests checkbox.

Procedure

  1. Create a Web UI test in the UI Test perspective.
  2. Run the Web UI test successfully at least once before adding it to a schedule.
  3. Open the Performance Test perspective, and create a schedule.
  4. Click User Group 1, and then click Add > Test to add a Web UI test in the Schedule editor.
  5. Select a test and click OK.
  6. To specify a variable:
    1. Click User Group 1 and from the User Group Details area click Variable Initialization.
    2. Click Add.
    3. For Variable Name, type RTW_WebUI_Browser_Selection, and for Initial value type Firefox, Chrome, Internet Explorer, or Internet Explorer 64. This action specifies the web browser to be used for the user group.
      You can add multiple user groups. For each user group, you can assign a different web browser and a location.
      Note: You can also add the variable in the Web UI test. See Defining a variable at the test level. If the variable name is the same in the test and schedule and the Visible in field in the test is set to All tests for this user, the variable defined at the schedule level is used when the schedule is run.
  7. Optional: Run a user group at a remote location where Test Performance Agent is installed.
  8. Optional: To generate the UI Test report, select a User Group, click the Options tab and click the Edit options button. In the UI Test tab, click the Enable UI Test reports check box. To capture screenshots of the user interface that was recorded, click Enable screenshots capture
    When you run a Web UI test as part of a schedule with virtual users, by default, the UI Test report is not generated because the report will contain lot of data for each virtual user. There are logs and statistical reports for analysis. However, the UI Test report might be useful to you if you are running a schedule on a control agent with a single user.
    Note: . The UI Test tab shows up only if there is a mobile or a Web UI test in the schedule.
  9. Save the schedule. To run it, click Run Schedule.