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.

You must have completed the following tasks:
  • Ensured that you are assigned a Team Space Owner, Project Owner, or Member with a Tester role to create or edit a test resource.
  • Initiated test runs from the Suite Editor page.
  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 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 .yaml file in the list of Suites to open the suite.
    The test steps are displayed on the Suite Editor page.
  5. Click the Try Now icon try now icon, and then select the Run all or Run only failed option to begin the test run.
  6. Go to the Console tab, and then click the Console link.

    Alternatively, you can click the expand icon icon to expand.

    The Console output view is displayed.
  7. Review the console output to identify the error messages and logs.
  8. 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 up arrow to expand the console output view for more details.

    Restore console output view

    Click the down arrow down arrow to return the console output page to its original size.

    Close console output view

    Click the drop-down icon drop-down icon to close the console output view.

You have accessed the console output content.
You can perform any of the following tasks:
  • Decide on the actions that you might want to take based on the logs.
  • Rerun the test asset.