Viewing test logs after the test run is completed
After you configure a test run and the run is completed, you can view the test log that is created for the test.
Before you begin
You must have configured and started a test run, and noted that the test run has the status as Complete displayed on the Progress page.
About this task
Procedure
-
Perform the following steps after the test completes its run:
-
Go to Execute > Progress, if you are not already on the
Progress page.
The test assets that are running or have completed their run are listed. If you are already on the Progress page, only the test asset that you selected on the Execution page is displayed with the status as Complete.
- Click the Open action menu icon under the Actions column in the row of the test asset.
-
Click the View test log option.
The Test log page is displayed with the test log collated for test run.
- Go to Results.
-
Go to Execute > Progress, if you are not already on the
Progress page.
-
Perform the following steps after the test completes its run:
-
Go to Analyze > Results.
The test assets that have completed their run are listed.
-
Select the tab based on the type of test assets that you ran as
indicated in the following table:
If... Then... You want to run AFT Suites, API Suites, Compound Tests, Rate Schedules, VU Schedules, JMeter tests, JUnit tests, or Postman tests..
Click the SUITES tab.
You ran API tests, Functional tests, or Performance tests.
Click the TESTS tab.
You want to find Suites and tests by using custom filters, when you ran Suites and tests. Click the ADVANCED tab.
-
Identify the test asset that you ran by performing any of the following
actions:
- Scroll through the list.Tip: You can hover over the icon in the Type column to know the type of the test asset.Note: You can also identify the type of the asset from the icon that represents the test type as shown in the following table:
Icon Represents Listed in the SUITES tab Listed in the TESTS tab Listed in the ADVANCED tab API test Functional test Performance test AFT Suite API Suite Compound Test HCL AppScan CodeSweep JMeter Test JUnit Test Postman test Rate Schedule Selenium test VU Schedule - Search for the test asset by entering any text contained in the test asset name in the Search field.
- Click the Filter icon in the SUITES or
TESTS tab to filter the displayed
assets based on the asset type.
For example, select API Suite in the SUITES tab to display all API Suites or select Functional Test in the TESTS tab to display all Functional tests that are in the branch.
- Click the Filter icon in the ADVANCED tab, and
then create a filter query by using the New
filter option by performing the following
steps:
- Click New filter.
- Enter a name for the filter.
- Select an operator, and add a rule, or a group of rules.
- Add or enter the relevant parameters and either
select or enter the condition and the criteria for
the condition.You can select a parameter from the following list:
- Type
- Test Asset Name
- Test Asset Path
- Last Result
- Next Run
- Components
- Save the filter query to save and apply the filter
query to filter the assets based on the query.
The test assets that match the filter criteria are displayed.
- Retrieve and apply a saved filter query, if you have saved
filter queries previously by performing the following
steps:Note: The filter query applied previously is selected and the assets based on that filter query are displayed. To apply a different filter query, you must have created and saved the filter query.
- Click the Filter icon in the ADVANCED
tab.
The filter queries that you created and saved are displayed.
- Click the filter that you want to apply.
The test assets that match the filter criteria are displayed.
- Click the Filter icon in the ADVANCED
tab.
You have identified the test asset that you ran.
- Scroll through the list.
-
Click the test asset under the Test
column.
The results and reports panel is displayed.
- Click the Reports tab, if it is not already open.
-
Click the Test Log link.
The test log created for the test run is displayed in the Test log page.
- Go to Results.
-
Go to Analyze > Results.
-
Perform the following steps after the test completes its run:
-
Go to Analyze > Test Log.
The Test log page is displayed. The test assets that were run are displayed.
- Identify the test asset by its name or the type for which you want to view the test log.
-
Click the test asset under the Test
column.
The test log created for the test run is displayed.
- Go to Results.
-
Go to Analyze > Test Log.
Results
You have viewed the test log for the test asset that you ran.
What to do next
You can view the details of the test log and decide on the actions you might want to take on the test log. See Test log details.