Extending the application URL from the Application Details pane

After you substitute the text in the application URL of a Web UI test, you can extend the substituted application URL to other Web UI tests from the Applications Details pane.

Procedure

  1. Select the UI Test perspective from Test 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 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 Replace test application using substituted applicationReplace application in tests using substituted application icon.

    The Replace test application using substituted application dialog is displayed that contains the Web UI tests with an application URL.

  8. Select the tests for which you want to replace the application URL with the URL that contains the substituted text.
  9. Click Finish.

Results

You have successfully extended the application URL with the substituted text to other Web UI tests from the Application Details pane.