We have already discussed in http://toolsqa.com/telerik-test-studio/reporting-bug-tfs-using-telerik-test-studio/ reporting the bug directly into your Test Management tool can help in reducing time and effort in needed to be spent on recreating the Bug and logging it.
Telerik Test Studio supports both TFS and JIRA. We have already discussed in our previous post on how to connect and log bug directly into TFS, in this article we will discuss BUG reporting in JIRA using Telerik Test Studio. Let’s have a look how we can leverage this functionality to log bugs/defects with ease in JIRA.
BUG reporting in JIRA using Telerik Test Studio
- In the Test Studio home screen, click on the bug tracking button at top right hand side.
- A pop-up window will appear, asking you to select the desired Test Management tool for setting up bug logging.
- Select JIRA from the option by clicking on the “Edit” button beside JIRA server.
- Bug tracking Pop-up window will appear. Now, enter the details, provide your JIRA server URL, username and password.
- Click on connect, button. The Test Studio will try to connect to the JIRA server based on the provided server URL, username and password.
- Once JIRA server is connected, all the project present in the specified JIRA server will appear in the “SELECT YOUR PROJECT” drop down. Select the project under which you want your bug to get logged. Here, we have created a project in our JIRA server called “Bug Logging” and we have selected the same from the dropdown to log bugs.
- Once done, click on save button.
Once saved, the manage bug tracking window will appear again. You can see a Green Tick beside the JIRA server, this means that your server is now connected with Test Studio. You can see your server name and Project name.
Note: The default checkbox if checked will post bugs by default upon failure. If you want Test Studio to send bugs to JIRA each time a script is failed then, select this checkbox. But if you want to review the bug or want to submit it manually then please keep it unchecked.
- Click on save button to save the changes.
Once saved, your Telerik Test Studio is now connected with JIRA.
How do we log bug in JIRA?
Let’s run a test case with some tweaked step so that it results in certain failure. Once test fails, open the failure details by clicking on the red failure sign (beside failed step) to view the failure reason.
Test Failure details window should open, in the test failure window. Test Failure Window contains details about the test failure, like step details, failure summary and image details.
To submit the bug to JIRA server click on the “Submit Bug” button. A submit bug window will appear.
In the Submit Bug, window update BUG Name and description of the failure with desired details. From the “SUBMIT TO” drop down select the desired Test Management Tool to which you want to submit this bug. We have selected JIRA Server.
Once you have updated the details, click on “Submit” button.
A pop-up message will appear stating that the bug has been submitted to JIRA Server.
Now, open your JIRA server by using your own User Name and Password. Check for the bugs/Defects logged under project selected during the setting.
The bug should be logged in JIRA with your name as “Reporter”. Now, you can assign this bug to someone for fixing.