Extending the application URL from the UI Test 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 UI Test applications view.
Procedure
- Select the UI Test perspective from Rational® Functional Tester.
- Select the Web UI test from the Test Navigator pane for which you want to substitute partial or entire application URL.
-
Select Launch application from the Test
Contents pane.
The Applications Details pane is displayed.
- Go to the URL field, select and right-click the text in the URL that you want to change.
-
Click
.
The Select Data Source dialog box is displayed.
-
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. -
Click the Update Web UI Application
icon in the
Application Details pane.
The UI Test 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.
- Select the required tests in the Available Tests pane for which you want to replace the application URL with the URL containing substitutions.
-
Click the Update application in selected test
suites icon.
The Replace application in test suites dialog box is displayed.
- Click Finish.