Xray: Importing Test set and Pre-conditions

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 Sign up to comment
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

510 views 3 18
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