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
- Click 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.
- Designate any one browser as a default:
- In the Web Browsers field, click the name of the browser.
- Click Set as Default.
- Click OK.
- Click to specify information about your application and its environment.
- Start recording a functional test script.
- Start your test application from the Record toolbar. HCL OneTest™ UI opens the HTML page you specify in the default browser.
- Perform any actions and create verification points on your test application. Stop recording.
- Run the script. HCL OneTest™ UI plays back the script in the default browser.
- Designate the other browser as a default:
- In the Web Browsers field, click the name of the other browser.
- Click Set as Default.
- Click OK.
- Run the script. HCL OneTest™ UI plays back the script in the browser you defined as the default in step 8.