Exporting Web UI test projects to DevOps Test Hub
You can migrate Web UI test projects to a compatible format and export them to IBM® DevOps Test Hub (Test Hub) so that you can edit and run the exported tests in Test Hub.
- Configured the URL and offline user token of Test Hub in the page of IBM DevOps Test UI (Test UI). See Publishing test results to DevOps Test Hub.
- Ensured that the test project to be exported is present in the Test UI workspace and the project contains a test suite. Otherwise, the project does not get displayed in the Export wizard.
- Ensured that you are the owner of the target project in Test Hub.
- Added a repository for the project to export test assets.
When you export Web UI test projects that contain assets such as tests, variables, datasets, and application visuals to Test Hub, Test UI extracts test assets, and transforms them into a compatible format. For each test suite, Test UI generates a .yaml file that contains the step details and the associated smartshots.
The export feature supports the following scenarios:
- Migration of test projects that contain Web UI tests, and compound tests and AFT
Suites with only Web UI tests. The individual Web UI tests and compound tests are listed
as tests (.dtx.yaml files) after migration in Test Hub, whereas AFT Suites are
listed as suites(.dts.yaml files).Restriction:You cannot export tests such as HTTP test, functional test, Selenium test, mobile test, SAP test, API test, and Windows test.
- Migration of compound tests that contain a linked dataset.
- Migration of tests that contain an encrypted dataset. Note:After migration, you must create a classification to play back the test with an encrypted dataset in Test Hub. For more information, refer to Adding an encrypted dataset to a classification.
- Migration of datasets. The datasets can be linked or non-linked.
- Migration of Web UI tests that contain JavaScript alerts such as alert, prompt, or confirm dialogs, and drag-and-drop actions.
- Migration of Web UI tests that contain key press actions.Note:You must unselect the Native System Input checkbox in the User Actions Details panel for all key press actions in a test before migration.
- Migration of infinite and iterative loops.
- Migration of regular expressions (Regex) used in object identifiers and variables.
- Migration of the GoToURL step. The GoToURL step is converted to the Open step in Test Hub.
icon in the