Viewing test assets exported from DevOps Test UI
When you export Web UI test projects from HCL DevOps Test UI (Test UI) to HCL DevOps Test Hub (Test Hub), Test UI extracts test assets, processes them, and generates a .yaml file that contains the step details and the associated smartshots. You can then view the test assets of the Web UI test projects that are exported from Test UI.
Before you begin
- Ensured that you are assigned a role as a Project Owner or Tester in the project. See Managing access to the server projects.
- Exported a Web UI test project from Test UI. For more information, refer to Migrating Web UI test projects.
About this task
If the exported test contains a dataset, then a Log statement is added in the test as the first step. You must read the variable mapping information in the Log statement and link the dataset. Also, if the exported test contains an encrypted dataset, the encryption will be visible only on the Data page and not on the Test Editor page.
Procedure
-
Log in to Test Hub.
The Projects page of the initial team space is displayed.
-
Click to open the project that contains the exported test assets.
The Overview page of the project is displayed.
-
Click .
The Test Editor page and the test navigator panel are displayed.
- Click the exported test project to view the list of tests.
-
Click the .yaml file to open the test.
The test steps are displayed on the Test Editor page.
-
Click any test step for which you want to view the details.
The step details pane is displayed with the smartshot.
-
Click the Previous Step icon
and the Next Step icon
to navigate between the previous and next test
steps.
Results
What to do next
- Edit the test in Test Editor. See Editing a Web UI test.Note: You must compare the test steps with the original test steps in Test UI and if anything is missing, modify the imported test before you run the test.
- Create an Assign step to link the dataset to relevant variables if the exported test has a dataset linked. Refer to the first Log statement for variable mapping information.
- Create a classification if any of the exported tests have an encrypted dataset. See Creating a classification.
- Run the test and view the results. See Running a Web UI test.