Execution Statistics - OperationsAdd issue linkSwitch to the Execution Details section and click on the Image Added next to a failed test or test step to open the add issue input. This allows you to create and link a new issue to cover the failed test. Select a link type and click Create issue to open the JIRA create issue dialog. Once the new issue is created it will be linked to the failed test on the left hand column. ExportSwitch to the Execution Details section and click on the Export button to open the export menu. Select an export format from the list you want to export the execution statistics to. The executions can be exported as XML or Excel file. The following table describes the export content for each format. Export format | Content | XML | The resulting file contains detailed information about the execution and the executed tests and their test steps. The XML export also provides information such as item ids that can be used to integrate another application with T4J via its REST API. An example XML export can be found below this table. | Excel | The resulting file contains the following information about the execution and the executed tests: - Information about the execution
- Execution status
- Name of the execution
- Creation date, start date and execution date
- Description of the execution
- Information about executed tests / test steps
- Issue key of the test (only for executed tests)
- Issue summary of the test or name of the test step
- Execution result
- Status of the test / test step
- The user who executed the test / test step
- The completion date
|
Code Block |
---|
language | xml |
---|
title | Example XML export |
---|
collapse | true |
---|
| <?xml version="1.0" encoding="UTF-8"?>
<result>
<id>52</id>
<name>Example execution</name>
<description>An example execution.</description>
<deleted>false</deleted>
<assignee>Admin</assignee>
<passed>false</passed>
<failed>true</failed>
<running>false</running>
<notrun>false</notrun>
<created>2016-10-28T12:37:26.163+02:00</created>
<started>2016-10-28T12:37:45.497+02:00</started>
<finished>2016-10-28T12:38:16.727+02:00</finished>
<tests>
<name>Example Test</name>
<description>An example test</description>
<descriptionRendered><p>An example test</p></descriptionRendered>
<failureMessage/>
<folders>Subfolder</folders>
<failed>true</failed>
<passed>false</passed>
<notrun>false</notrun>
<skipped>false</skipped>
<steps>
<name>Test Step 1</name>
<description/>
<failureMessage>Test step failed.</failureMessage>
<failed>true</failed>
<passed>false</passed>
<notrun>false</notrun>
<skipped>false</skipped>
<expectedResult/>
<run>2016-10-28T12:37:45.497+02:00</run>
<id>547</id>
<executedBy>Admin</executedBy>
<executedByUrl>http://host:port/jira/secure/ViewProfile.jspa?name=admin</executedByUrl>
</steps>
<steps>
<name>Test Step 2</name>
<description/>
<failureMessage/>
<failed>false</failed>
<passed>false</passed>
<notrun>false</notrun>
<skipped>true</skipped>
<expectedResult/>
<run>2016-10-28T12:37:45.497+02:00</run>
<id>548</id>
</steps>
<finished>2016-10-28T12:37:45.497+02:00</finished>
<id>207</id>
<executedBy>Admin</executedBy>
<executedByUrl>http://host:port/jira/secure/ViewProfile.jspa?name=admin</executedByUrl>
<issueUrl>http://host:port/jira/browse/PRJ-19</issueUrl>
<issueKey>PRJ-19</issueKey>
<issueStatus>To Do</issueStatus>
<issueType>New Feature</issueType>
</tests>
<tests>
<name>Example Test 2</name>
<description>A test without test steps.</description>
<descriptionRendered><p>A test without test steps.</p></descriptionRendered>
<failureMessage>Test failed</failureMessage>
<folders/>
<failed>true</failed>
<passed>false</passed>
<notrun>false</notrun>
<skipped>false</skipped>
<finished>2016-10-28T12:38:16.727+02:00</finished>
<id>209</id>
<executedBy>Admin</executedBy>
<executedByUrl>http://host:port/jira/secure/ViewProfile.jspa?name=admin</executedByUrl>
<issueUrl>http://host:port/jira/browse/PRJ-22</issueUrl>
<issueKey>PRJ-22</issueKey>
<issueStatus>To Do</issueStatus>
<issueType>New Feature</issueType>
</tests>
</result> |
|