Adding or Linking Issues to Test Case and Test Step

Log bugs at test case and test step levels. Add issues and attachments directly to test steps, including test run logs. These attachments also appear on the Test Executions tab of the test case.

To add issues, perform these steps:

QPro_TS_LinkingIssuestoTestRun.png
  1. Go to the Test Run Screen.

  2. Click the Bug icon next to the test case.

  3. Enter the bug details and save the issue.

The Bug icon turns red on adding an issue.

Issues Screen

The Issues screen has the four options: Available Issues, Linked Issues, Link New Issues, Link External Issue.

QPro_TS_Issues.png

Available Issues

This tab displays all issues added to the project and is available to link with the test case.

Issues from External Tracker

This tab displays issues if you have configured an external tracker containing logged issues, they appear with an External Key.

Linked Issues

The tab displays all issues already linked with the test case. To link multiple issues, select the issues and click Link or Link and Close.

Create Issues

Create a new issue from this screen and link them to the test case.

Issue IDs appear on the Linked Issues tab. Clicking the Issue ID link opens the Issue details page in QMetry.

Customizing Issue Screen View

Resize columns, apply sorting (other than multi-lookup lists field type), and show or hide columns using the Arrange Columns option.

In the case of linking issues from Jira:

  • The Advance Filter option is available for the custom fields that are mapped for the Issue module.

  • The Arrange Columns option displays all the system and custom fields that are mapped for the Issue module.

Linking New Issues

To link new issues, perform these steps:

  1. On the Test Execution Screen, click the Bug icon next to the test case.

    QPro_TS_Link_New_Issues.png
  2. Open the Create Issue tab.

  3. Enter issue details.

    • The Issue Summary field is auto-filled with Test Case ID and Test Case Summary.

    • The Description field displays Test Case Summary and Test Step details including UDF details.

    • Link attachments under the Link Attachments section.

  4. Click Create and Link.

The system links the newly created issue to the test case and displays it under Linked Issues tab.

Creating Issues at Step Level for Automated Test Cases

If an error occurs during an automated test run, the system displays the Error Message and Trace in the respective columns on the test execution screen. When you create an issue at test step level from the execution screen, a .txt file containing this Error Message and Trace gets attached to the issue.

QPro_TS_CreateIssuesatStepLevel.png

This .txt file can be accessed from the Attachment tab of the issue.

Linking Existing Issues

  1. On the Test Run Screen, click the Bug icon.

  2. Select Available Issues tab.

  3. Select issues and click Link .

Logging Jira Issues from QMetry

If Jira is configured with the QMetry project, then the Issue module in QMetry is hidden. Users can log defects in Jira from the Execution Screen of QMetry .

Logging an issue for the First Time

When logging an issue for the first time, a pop-up prompts you to authenticate with Jira.

To authenticate, perform these steps:

  1. Enter Username.

  2. Enter API Token. Refer Login using API Token to generate API Token.

To Edit or Revoke Authentication

If your Jira credentials are changed, follow Revoke Authentication to modify the credentials in QMetry.

Linking Existing External Issues

The Available Issues tab displays issues that can be linked to the test case.

To link a single issue, click Link icon.

To link multiple issues at a time, select issues and click Link Selected Issues at the bottom.

Unlinking Issues

To unlink a linked issue, perform the following steps:

  1. Open the Linked Issues tab.

  2. To unlink a single issue, click the Unlink icon for that issue.

  3. To unlink multiple issues at a time, select issues and click Unlink.

Issues Linked to Test Step

View Issues linked at Test Steps on the execution screen.

View step-level bugs at the test case level to see all associated bugs at the Test Case level.

Example 18. Issues Linked to Test Steps

Bugs are linked to the specific version of a test case. For example, if a bug is logged against TC1 Version 1 on the Execution screen, and the test case is later updated and saved as Version 2, then after syncing, the bug appears only with Version 1.



QPro_TS_IssuesLinkedTS.png

On Execution Screen, hovering over the Bug icon displays two distinct counts - issues linked to test case and issues linked to test steps.

  • On the test case list view, Linked Issues Count displays the count of issues linked at test steps level as well as test case level.

  • On the test case detail page, the Issues displays Linkage Level of the issue along with Test Case Version.

  • On the Issue detail screen, the Execution Runs displays Linkage Level of the issue along with Test Case Version.

Publication date: