Recording Web UI steps for an existing test
If you already have a test, you can add more steps to it at a desired location by initiating the recording from a step or from the application node. For instance, if the task flow has changed in the new version of the application that you recorded and you want to update the existing test script, start the recording from the step after which the new steps must be added. You can also initiate the recording from the Launch application or In application nodes of the test.
Procedure
- Open the test script in which to add steps from a new recording.
-
Right-click the step after which the new steps must be added and click
.You can also start the recording from the "Launch application", "In application", and "Window" nodes of a test script. To do that, right-click the node and click.
-
In the Select Client Application page of the recording wizard, select a
web browser or click Running Browser Instance. Click
Next.
When you select a browser, Rational® Functional Tester configures and starts the browser for you to start the recording from the first page of the application. When you select Running Browser Instance, you start recording the application that is already running in a browser from the current state of the application so that you do not need to start recording from the first page of the application..
- Complete one of the following steps:
- If you selected a web browser, follow the next set of instructions in Recording a Web UI test.
- If you selected Running Browser Instance, follow the next set of instructions in Recording a Web UI test by using a running browser instance.
- After the recording is done, the test is generated. Click Close. The newly recorded steps are added after the step from where you initiated the recording. If you initiated the recording from the application node, the new steps are added after the application node or after the last step in the application node. All the new steps are highlighted. To save the changes, click Save.