Extending the application URL from the Mobile and Web UI applications view

After you substitute the text in the application URL of a Web UI test, you can extend the substituted URL other Web UI tests from the Mobile and Web UI applications view.

Procedure

  1. Select the Web UI Test perspective from HCL OneTest™ UI.
  2. Select the Web UI test from the Test Navigator pane for which you want to substitute partial or entire application URL.
  3. Select Launch application from the Test Contents pane.

    The Applications Details pane is displayed.

  4. Go to the URL field, select and right-click the text in the URL that you want to change.
  5. Click Substitute > Select Data Source.

    The Select Data Source dialog box is displayed.

  6. Select the data source and click Select.

    The URL text is substituted with the text in the data source and is highlighted in the Application Details pane.

    Note: You can substitute different parts in the application URL with text values in different data sources.
  7. Click the Update Web UI Application icon in the Application Details pane.

    The Mobile and Web UI applications view is displayed.

    You can view the following changes:
    • The application URL that contains the substitutions is selected by default.
    • The list of tests available to the application URL is displayed in the Available Tests pane.
    • The tests that contain a different URL or substitution when compared to the URL that you want to extend are displayed in italics.
  8. Select the required tests in the Available Tests pane for which you want to replace the application URL with the URL containing substitutions.
  9. Click the Update application in selected test suitesUpdate application in selected test suites icon.

    The Replace application in test suites dialog box is displayed.

  10. Click Finish.

Results

You have successfully extended the application URL with substituted text to other Web UI tests from the Mobile and Web UI applications view.