Task flow for testing web applications
You can follow the task flows depicted through diagrams in this topic for testing the web applications in HCL DevOps Test UI (Test UI).
The standard task flows are as follows:
Task flow for standard Web UI tests
Although the diagram implies that each task is completed sequentially, you can do many of the tasks at the same time.
The task flow to test web applications using Test UI is as
follows.
.
| S/N | Tasks | More information |
|---|---|---|
| 1 | Record Web UI tests. | Recording a Web UI test |
| 2 | Insert verification points. | Creating a data verification point. |
| 3 | Play back Web UI tests and handle possible errors during the play back. | Configuration of Web UI test runs. |
| 4 | Evaluate results of the play back. | Evaluating desktop Web UI results. |
| 5 | Apply guided healing by using the data collected during the playback. | Updating tests by using the guided healing feature. |
Standard task flow of design driven testing for Web UI tests
The standard task flow of design driven testing for web applications using Test UI is as follows.
| S/N | Task | More information |
|---|---|---|
| 1 | Add the images of web application designs by using the Application Configuration page. | Adding a web application design |
| 2 | Validate the UI controls that are identified, and then edit them as required. | Editing a web application design |
| 3 | Upload more images, reorder the uploaded images, and delete the unwanted ones. | Editing the web application configuration |
| 4 | Record Web UI tests by using the applications that are added with designs. | Recording a test |
| 5 | Edit the test steps and save the test. | Editing a test that uses application designs |
| 6 | Run the test with guided healing or auto healing enabled to update the test with the actual screens of the application after the web application is deployed and available to run. | Running a Web UI test |
| 7 | View the report and verify the results of each step. | Viewing a unified report |
| 8 | Apply the data collected during the test run to update the
test. Also, You can run the test, view the report, and update the test repeatedly to make it error free. |
Updating tests by using the guided healing feature |
Advanced task flow for standard Web UI tests
Although the diagram implies that each task is completed sequentially, you can do many of the tasks at the same time.
The following table lists the advanced task flow to test web applications using Test UI.
| S/N | Tasks | More information |
|---|---|---|
| 1 | Record Web UI tests. | Recording a Web UI test. |
| 2 | Insert verification points. | Creating a data verification point. |
| 3 | Add datapool. | Creating a dataset. |
| 4 | Add conditions. | Adding conditional logic to tests. |
| 5 | Add a loop to the test. | Adding a loop. |
| 6 | Add Web UI test steps offline. | Actions from the SmartShot View. |
| 7 | Modularize Web UI tests. | Splitting UI actions. |
| 8 | Play back Web UI tests and handle possible errors during the play back. | Configuration of Web UI test runs. |
| 9 | Evaluate results of the play back. | Evaluating desktop Web UI results. |
| 10 | Apply guided healing by using the data collected during the playback. | Updating tests by using the guided healing feature. |