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

You must have completed the following tasks:

About this task

Test UI exports the test projects to the specified project and the selected edit branch in Test Hub. Test Hub lists the exported test projects in the test navigator panel with the respective names suffixed with UTA. The exported test projects contain sub-folders such as tests, shots, and others. You can also edit and run the exported Web UI tests.
Note: The exported test might be in the unsaved state when you open it for the first time. You must remember to save the test.

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

  1. Log in to Test Hub.
    The Projects page of the initial team space is displayed.
  2. Click My projects > project_name to open the project that contains the exported test assets.
    The Overview page of the project is displayed.
  3. Click Author > Test Editor.
    The Test Editor page and the test navigator panel are displayed.
  4. Click the exported test project to view the list of tests.
  5. Click the .yaml file to open the test.
    The test steps are displayed on the Test Editor page.
  6. Click any test step for which you want to view the details.
    The step details pane is displayed with the smartshot.
  7. Click the Previous Step icon and the Next Step icon to navigate between the previous and next test steps.

Results

You have viewed an exported test.

What to do next

You can perform the following tasks:
  • 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.