Recording a Web UI test immediately after the previous playback
When you want to continue the testing after the previous playback, you can choose to record a new Web UI test by using the Allow recording after playback option.
Before you begin
- Read and been familiar with the enabling of browser extensions for tests in a running browser instance. See Enabling Google Chrome for Web UI testing, Enabling Mozilla Firefox for Web UI testing, Enabling the Apple Safari browser to perform Web UI tests on macOS, and Enabling Microsoft Edge for Web UI testing.
- Created one or more Web UI tests. See Recording a Web UI test.
About this task
Procedure
-
Start HCL OneTest™
UI and perform the following steps:
- Click tab.
- Select the Allow recording after playback option under Playback options to continue recording in the same browser after the playback.
- Click Apply and Close.
-
Open the Web UI test for playback from the Test
Navigator pane.
The test is displayed.
- Optional:
Remove or disable the step if the close browser action is
listed in the script.
The close browser action is recorded when you intentionally close the browser during the recording process. However, you can choose to stop a recording and not record the close browser action.
- Click the Run Test icon.
- Click the UI Test perspective after the test run is complete.
- Click New Test From Recording icon on the toolbar in the UI Test perspective. or click the
- Click Create a test from a new recording, and then select Web UI Test.
- Click Next.
- Type a name for the test, and then click Next.
- Select Running browser instance, and then click Next in the Select Client Application page.
- Select the web application that you tested from the list of running browser instances and click Finish.
- Record the test from the point where the previous playback had stopped.
-
Stop the recorder by clicking the Stop
icon in the
Recording Control view after
you finish the user tasks in the browser.
The test is generated from the recording.