Accessing the console output
When you run suites, you can access the console output that provides information such as error messages, logs, and the test verdict. You can then use this output to troubleshoot issues by reviewing details, such as session IDs and error messages.
Before you begin
- Ensured that you are assigned a Team Space Owner, Project Owner, or Member with a Tester role to create or edit a test resource.
- Ensure that your project contains a test.
Procedure
-
Log in to Test Hub.
The Projects page of the initial team space is displayed.
-
Click
to open the project that contains the test assets.The Overview page of the project is displayed.
-
Click
.The Test Editor page and the test navigator panel are displayed.
-
Click the .yaml file in the list of Suites to open the
suite.
The test steps are displayed on the Suite Editor page.
-
Click the Console tab at the bottom of the
Test Editor page.
Alternatively, you can click the expand icon
The Console output view is displayed..
- Review the console output to identify the error messages and logs.
-
Perform the following actions to manage the console output:
Action
Description
Search a keyword in the console output
Enter a keyword in the Search console field, and the corresponding word is highlighted in the console output.
Select all console content
Right-click the console output area and, then select the Select All option to select all content.
Copy the selected content
Right-click the selected content and choose Copy to copy the content.
Expand console output view
Click the up arrow
to expand the console output view for more details.
Restore console output view
Click the down arrow
to return the console output page to its original size.
Close console output view
Click the drop-down icon
to close the console output view.
Results
What to do next
- Decide on the actions that you might want to take based on the logs.
- Rerun the test asset.