HTML support
HCL OneTest™ UI supports testing HTML applications that are loaded in a browser.
The Functional Test perspective can be used to test HTML4 applications and the UI Test perspective can be used to test web applications built with HTML4 and HTML5 technologies. For information on testing of HTML5-based applications, refer to Web UI tests.
- Recording tests for HTML applications using the different browser settings. See Web UI recording.
- Using a specific browser profile for test runs. See Setting a specific browser profile for the playback.
- Clearing the data stored in browsers before test runs. See Clearing cache, cookies, and history of browsers.
- Running tests in headless and private mode. See Running tests in the headless mode and Running tests in the private or incognito mode.
- Updating tests with guided healing and self-healing. See Overview of guided healing and self-healing.
- Multi-window support to test Functional HTML tests. See Multiwindow support for functional HTML tests.
- Google Chrome: See Preparing for functional testing in the Google Chrome browser.
- Microsoft® Edge: See Running a script from the Microsoft Edge browser.
- Internet Explorer
- Mozilla Firefox: See Enabling Mozilla Firefox for Web UI testing and Recording a Web UI test in Mozilla Firefox.
When you record a script, HCL OneTest™ UI creates a test object map for the application under test. The test object map contains descriptions of all test objects to which the script refers. The test object maps that HCL OneTest™ UI creates for HTML applications are often more hierarchical than those created for Java™ applications. The highest level of the test object map is a browser and the HTML application is inside the browser. For more information, see the example of a test object map that is created for a HTML application.