Prerequisites for creating tests
Before you can create a test, you must complete the prerequisite tasks.
When you use HCL DevOps Test UI (Test UI) to record a test for the application under test (AUT), you must ensure that you follow the prerequisite conditions mentioned or complete the prerequisites tasks.
Find information about the conditions that are independent of the web browsers that you
must complete:
- You must wait for each page to load completely when you record a test. Note: This waiting time does not affect performance results because you can remove extra waiting time (think time) when you configure a run to play back the test.
- You must enable the JavaScript option in a web browser to record and play back Web UI scripts.
- You must install the Mozilla Firefox, Microsoft Edge, or Google Chrome browsers on computers that run Mac operating system at the default location of /Applications when you want to record or play back a Web UI test.
Prerequisites for using the Google Chrome browser
You must complete the following tasks:
- Install the Google Chrome extension for Web UI testing when you want to record web applications that are already running in the Google Chrome browser. See Enabling Google Chrome for Web UI testing.
- Enable the Google Chrome Device Mode feature to emulate web applications on mobile devices when you want to record such tests. See Recording a test with Google Chrome Device Mode.
Prerequisites for using the Microsoft Edge browser
You must install the Edge extension for Web UI testing when you want to record web applications that are already running in the Edge browser. See Enabling Microsoft Edge for Web UI testing.
Prerequisites for using the Internet Explorer browser
You must complete the following tasks when you want to use the Internet Explorer
browser for recording web applications:
- Add
<!DOCTYPE html>
at the beginning of the HTML source of the pages to ensure that the browser always loads the web pages in standard mode. - Click and clear all the selections to prevent the application from running on a compatibility mode internally.
- Enable the Test UI
extension in the browser when you are recording the test with Internet
Explorer for the first time by performing any of the following actions:
- Click Enable in the dialog that appears the first time you start Internet Explorer after you installed Test UI.
- Open Internet Explorer and click RtwIEBhoWithJS Class, and then click the Enable option. . Then, select
Prerequisites for using the Mozilla Firefox browser
You must install the Web UI browser extension when you want to record web applications that are already running in the Firefox® browser. See Enabling Mozilla Firefox for Web UI testing.
Prerequisites for using the Safari browser
You must complete the following tasks when you want to use the Safari browser for
recording web applications:
- Enable the Safari browser when you want to record Web UI tests. See Enabling Apple Safari for Web UI tests on macOS.
- Click the to be able to record a test.
- Click Stop Session in the dialog that is presented when you start the recording of the web application in the Safari browser.