Xray: Importing Test set and Pre-conditions

Harinder I'm New Here Sep 11, 2017

I want import the test set and pre-conditions associated with the tests using Xray test case importer, I have more than 120 test set which contains multiple pre-conditions associated with the tests. I'm using the mapping as presented in the screenshot below. Test sets and pre-conditions associated with the tests are not imported but rest of the fields are imported correctly. probably it is because of the fact that , it cannot create test set / pre-conditions without summary , what is the solution in this case ? 

CSV file format

SampleCSV.JPG

Mapping using xray test case imported

ImportingTestCases.JPG

2 comments

Hi Harinder,

As of version 3.0, Xray's built-in Test Case Importer is only able of creating (Manual) Tests.

During the mapping, you can link the Tests with some other entities including Pre-Conditions, Test Sets and Test Plans using the following custom fields :

  • Pre-Condition association with a Test
  • Test Sets association with a Test
  • Test Plans associated with a Test **

More info about custom fields here: https://confluence.xpand-addons.com/display/XRAY/Custom+Fields+and+Screen+Configuration and https://confluence.xpand-addons.com/display/XRAY/Using+custom+fields 

Thus, if you need to create Tests and related Pre-Conditions, for example, you would need to

  1. Start by creating the Pre-Conditions using Jira's CSV importer, as detailed here: https://confluence.xpand-addons.com/pages/viewpage.action?pageId=21760052#ImportingandExportingTests(CSV)-Pre-Conditions
  2. Create the Test cases, using Xray's built-in Test Case Importer; at this moment you could specify a column with all the issue keys of the related Pre-Conditions (you would need to know the related issue keys obtained in the first step)

You could also do it the other way around:

  1. Create the Test cases, using Xray's built-in Test Case Importer
  2. Create the Pre-Conditions using Jira's CSV importer and use the custom field "Tests association with a Pre-Condition" to identify all linked Test issues (you would need to know the related issue keys obtained in the first step)

We may improve Test Case Importer in the future in order to support automatic creation of Pre-Conditions. Please open an improvement request using our Service Desk here: https://jira.xpand-addons.com/servicedesk/customer/portal/2 

 

Best regards,

Xpand Add-ons Team

Comment

Log in or Join to comment
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,138 views 6 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot