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.

...

To create issues in JIRA after Qualitia bot execution:

  1. Log on to Qualitia Automation Studioas a project administrator.
  2. From the Settings menu, click Configuration SettingUnder the Admin section, click Projects.
    A list of existing Qualitia projects appear.
  3. In the Defects tab,  Defect Management section, click Configure next to the project for which you want to configure JIRA as a defect management tool.
    A new window appears to fill-up all the information about JIRA related information and click OK.
  4. Create a Qualitia bot (erstwhile Qualitia Offline Package) [from File > Offline Package].
  5. Add test cases to Qualitia bot and execute based on your requirements.

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.

...

Property NameProperty Value
AutoCreateJiraDefectSpecify whether you want automatically to create issues for the defected test cases after test case execution.
JiraUrl

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   

JiraUserIdEnter the JIRA username for the account which you want to use for creating the defect.  
EncryptedJiraPasskeyEnter the JIRA password for the account which you want to use for creating the defect. JIRA password entered by the user in Qualitia will be auto-encrypted at the time of creating Qualitia bot.
JiraProjectEnter the JIRA project name in which you want to add the issue. This is not mandatory.
JiraProjectKeyEnter the JIRA project key under which you want to create the issue. It is generated when creating JIRA project and unique to each project.
For more information about how to find JIRA project keys, refer to the Atlassian JIRA documentation.
JiraBugPriorityEnter the bug priority. 
AttachReportToJiraDefectSpecify whether you want to attach Qualitia test execution report to the JIRA issue.   
IncludeScreenshotsInJiraAttachmentSpecify whether you want to add screenshots when attaching the report to the JIRA issue.   

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.

...


Keywords to search



To view the information about successfully logged issues in JIRA


Successfully attached report to JIRA. Defect Link:
Creating JIRA defect for Iteration

Since AttachReportToJiraDefect is true

Created temp zip for report attachment at



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

Error occurred while creating JIRA defect for Iteration
Error details: org.apache.http.conn.HttpHostConnectException
Error occurred while attaching the report for Iteration
Bad request error

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


Info

At the time of executing Qualitia Bot, in case there are problems in connecting to JIRA, defects occurred in the test cases will not be logged in JIRA. Qualitia users then manually have to collect such defects referring to execution reports and add them in JIRA, if required.

...