Recording cross-browser and cross-platform scripts

This topic provides an overview of the procedures to set up your environment to record cross-browser scripts.

Procedure

  1. Click Configure > Enable Environments for Testing to enable browsers for testing. For example, any of the supported versions of Firefox or Internet Explorer that you plan to use for testing must be enabled.
  2. Designate any one browser as a default:
    1. In the Web Browsers field, click the name of the browser.
    2. Click Set as Default.
    3. Click OK.
  3. Click Configure > Configure Applications for Testing to specify information about your application and its environment.
  4. Start recording a functional test script.
  5. Start your test application from the Record toolbar. HCL OneTest UI opens the HTML page you specify in the default browser.
  6. Perform any actions and create verification points on your test application. Stop recording.
  7. Run the script.
    HCL OneTest UI plays back the script in the default browser.
  8. Designate the other browser as a default:
    1. In the Web Browsers field, click the name of the other browser.
    2. Click Set as Default.
    3. Click OK.
  9. Run the script. HCL OneTest UI plays back the script in the browser you defined as the default in step 8.