Link Defects/Bugs on List View Execution Screen

You may come across defects/bugs while running the test. These defects need to be recorded properly for further analysis. You can log a defect to test steps and test cases individually. You can either create a new defect or link an existing defect to the test case/test step. Bugs added to steps are also reflected at the test case level.

 

Link Defects/Bugs to a Test Case

You can link bugs to test cases/test steps while executing the test cases.

Steps

1. Open the test execution screen. If a bug is already linked to the test case or steps under it, the count will be displayed.

2. Click on the bug icon for the test case. The Assign Bugs screen opens.

You can either add an existing bug or create a new bug to link to the test case.

Steps

  1. Click on the Link existing Bug button. The Link Existing Bug to Execution pop-up opens. The screen displays the records as per the Issue Type enabled for Bug in QMetry Project Settings.

  2. Select the bug you want to link with the test case and click Link.

You can also -

(A) select bugs logged in other projects. Open the project drop-down and select other projects from which you want to add the bug.

(B) apply the Basic filter to search bugs (The Issue Type filter displays Issue Type in accordance with the Issue Type enabled for Bugs in QMetry Project Settings.)

(C) apply JQL to search bugs

  • Link: You can link existing bugs to the test execution. Select the bugs that you want to link with the test execution and click on the Link button. Once the bugs are linked, the Link Existing Bug to Execution pop-up still remains open to let you link other bugs.

  • Link & Close: You can link bugs and close the pop-up. Select the bugs that you want to link with the test execution and click on the Link & Close button.

 

 

Switch to JQL: Click on the Switch to JQL. The JQL editor opens. Write the query to filter the records and click Link.

 

B. Create a Bug

Steps

Click on the Create Bug button. The Create Issue screen of Jira opens. The Issue Type drop-down shows the list of issue types as per the Issue Type enabled for Bug in QMetry Project Settings. By default "Bug" issue type is auto-selected on the drop-down.

Create an issue with Issue Type "Bug".

The bug created from the Execution Screen will be linked to the test case directly.

Link Defects/Bugs to Test Step

Apart from linking defects to the test case, you can also link defects to test steps to trace the bug related to step level.

  1. Open the Steps tab by clicking on the Step Count (S.C.) for the test case.

  2. Click on the bug icon at the right.

  3. The Assign Bugs screen opens. Follow the same steps described above to create a new bug or add existing bugs. The color of the Bug icon gets changes(Red) as soon as you associate a bug to it.

Unlink Defects/Bugs

Defects/Bugs are linked with the test case and test step from the execution screen. You can delete attachments in accordance with their level - test case/test step.

Bug Level

Bugs can be unlinked from -

Bug Level

Bugs can be unlinked from -

Test Case Execution

Test Case

Test Step Execution at sequence number 1

Test Step

  • Hover the mouse over the bug which you want to unlink.

  • The Unlink icon becomes visible.

  • Click on the unlink icon to remove the association of the bug with the test case.

 

  1. Select the bugs you want to unlink.

  2. Click on the Bulk Unlink button.