Web UI testing overview
Stages in the testing process
- Installation and configuration: Set up your test environment with HCL OneTest Studio.
- Application preparation: Import the web application that you want to test into the test workbench.
- Test recording: Choose a web browser and run the web application from the test workbench to start a recording. The recorder app records all user interactions, sensor inputs, and application behavior, and then uploads the recorded data to the test workbench, where it can be converted into a Web UI test.
- Test editing: After recording, you can edit the test in the natural language editor. You can use the data view to display and select UI elements from the recorded applications. You can replace recorded test values with variable test data or add dynamic data to the test.
- Test execution: You can deploy and run automated tests to ensure that the application matches the expected behavior defined in verification points. During the run, the test workbench checks each verification point and provides a pass, fail, or inconclusive status and functional data is recorded.
- Evaluation of results: After the test, the test data is uploaded to the test workbench. You evaluate the test results through the performance and verification point reports that are generated with the uploaded data. You can also design custom reports by manipulating a wide range of counters. Functional reports provide a comprehensive view of the behavior of the web application under test. You can export the reports and archive them for validation.
The test workbench
- A test navigator lists test projects, tests, and the test results.

- A test editor enables you to edit test scripts in natural language and add actions, verification
points, datasets, test variables, or stubs in your script steps.

Performance and load testing
When you run a test, by default, the product captures response time data within the application and outside the application (in the network and server). This bifurcation of response time helps identify the contribution of the application against the contribution of the network and server to an unexpected response time or breakdown of a test step. The response time data is displayed in the statistical report.
To generate load on the Web UI test, install HCL OneTest Performance and HCL OneTest UI in the same package group and add the Web UI test in the schedule. Add the number of virtual users to the user group. Each virtual user corresponds to a web browser session. So, on one agent computer, you can generate load upto 15 - 20 users. To generate more load, you can add agents. You can also combine HTTP test with Web UI test.