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

You must have completed the following tasks:

About this task

You can keep the browser active after the playback is complete for a Web UI test, and then start to record from the point where the playback stopped.

Procedure

  1. Start HCL OneTest UI and perform the following steps:
    1. Click Window > Preferences > Test > Test Execution > UI Test Playback > Desktop tab.
    2. Select the Allow recording after playback option under Playback options to continue recording in the same browser after the playback.
    3. Click Apply and Close.
  2. Open the Web UI test for playback from the Test Navigator pane.

    The test is displayed.

  3. 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.
  4. Click the Run Test icon.
  5. Click the UI Test perspective after the test run is complete.
  6. Click New > Test From Recording or click the New Test From Recording icon New Test From Recording on the toolbar in the UI Test perspective.
  7. Click Create a test from a new recording, and then select Web UI Test.
  8. Click Next.
  9. Type a name for the test, and then click Next.
  10. Select Running browser instance, and then click Next in the Select Client Application page.
  11. Select the web application that you tested from the list of running browser instances and click Finish.
  12. Record the test from the point where the previous playback had stopped.
  13. Stop the recorder by clicking the Stop icon Stop icon in the Recording Control view after you finish the user tasks in the browser.
    The test is generated from the recording.

Results

You have recorded a Web UI test immediately after the previous playback is complete.