Creating Web UI tests
See the different ways to record Web UI tests. After the recording stops, the tests are
generated automatically.
- Web UI recording
HCL OneTest™ UI provides multiple ways to create Web UI tests using the Web UI Test perspective. You can create a Web UI test that captures both functional and HTTP traffic in the same recording. In addition, you can create a Web UI test for a web application that is already running in an instance of the Chrome, Firefox, or Safari browser. You can also initiate a recording from a step of an existing test. You can also play back tests on Microsoft Edge browser but they must be recorded on Chrome, Firefox, or Internet Explorer. - Recording a Web UI test
You create a Web UI test in the Web UI Test perspective. HCL OneTest UI automatically enables web browsers and configures the test environment before you start recording tests for web applications. - Recording a Web UI test by using a running browser instance
You can create a Web UI test of a web application from the Web UI Test perspective using a browser that is already running locally. For example, if you have already recorded some part of a web application, you can go back at a later time to resume the recording Support is provided for Chrome and Firefox on Windows and Linux computers and for Safari, Chrome and Firefox on Macintosh computers. Internet Explorer is not supported. - Recording Web UI steps for an existing test
If you already have a test, you can add more steps to it at a desired location by initiating the recording from a step or from the application node. For instance, if the task flow has changed in the new version of the application that you recorded and you want to update the existing test script, start the recording from the step after which the new steps must be added. You can also initiate the recording from the Launch application or In application nodes of the test. - Enabling Google Chrome for Web UI testing
Before you can record a Web UI test on a web application that is already running in the Chrome browser, you must install the Google Chrome extension for Web UI testing. - Enabling Mozilla Firefox for Web UI testing
Before you can record a Web UI test of a web application that is already running in the Firefox browser, you must first install the HCL OneTest UI Web UI browser extension for Firefox. - Enabling Apple Safari for Web UI playing back on a Macintosh computer
To record and play back tests with Apple Safari, you must enable the Safari browser for Web UI. To enable this, you must install Web UI extension for the Safari browser. The WebDriver extension technology comes bundled with Safari. - Recording a test with Google Chrome Device Mode
You can use the Google Chrome Device Mode feature to emulate tests of web apps on mobile devices. - Annotating a test during recording
- Splitting a test during recording