Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Qualitia gives you provision to create issues in JIRA after the test case executions from the Qualitia bot. In order to do so, you need to configure Qualitia bot accordingly.

This saves tester's efforts to manually create issues in JIRA for each test case differently.

Info
titleImportant Notes
  • Ensure that the JIRA issue creation flow does not have any mandatory fields (except Summary).
  • Ensure that JIRA is accessible from the machine you are initiating the test cases execution.
  • Bot creates defect only when the test case status is Defect. If test case has steps with both the statuses (failed and defect), test case status is reported as failed, hence, issue will not be created in JIRA.
  • Bot creates JIRA issues at the iteration level. Bot creates separate issues for each iteration if different iterations from a single test case have defects in them. 
  • For easy identification, issues created in JIRA are labeled as QualitiaOfflineExecution.

To create issues in JIRA after Qualitia bot execution:

...

Note

You need to create new Qualitia bot every time you change the JIRA credentials (especially password). Other JIRA related configurations can be changed from the JIRA Settings for Defect Creation section of qualitia.properties file.

Following is the list of properties from the qualitia.properties file that help you adding issues in JIRA. While creating Qualitia bot, system fill-up values for all these properties based on the values added while configuring projects to add defects in JIRA.

...

This is the URL to JIRA host. For example: https://abcd.atlassian.net

In case you are using JIRA Server, enter http:// followed by Host name and port number.
For example: http://123.12.1.1:1010   

...

Understanding Qualitia Logs

After the test case execution from the Qualitia bot, you may refer to the QualitiaEngine.log file for the detailed information about issues created in JIRA. This file is generated in the folder which is created to store reports of the test cases from Qualitia bot. You can use any text editor to view or read the QualitiaEngine.log file.

Info

This file gets generated after the test suite executions in the folder which you have created to store Qualitia Bot reports. You will find this location in the qualitia.properties file against the LogPath property. 

To access the QualitiaEngine.log file:

  1. Navigate to the LogPath folder.
  2. Open the QualitiaEngine.log file using any text editor. 

...

To view the information about successfully logged issues in JIRA

...

Since AttachReportToJiraDefect is true

...

To view the information about failures occurred during logging issues in JIRA 

...

Error details:
java.net.NoRouteToHostException: No route to host: connect

...

Include Page
Creating Issues in JIRA from Qualitia Bot
Creating Issues in JIRA from Qualitia Bot