DesignWise enables teams to generate optimized test scenarios with comprehensive coverage, while TestRail provides a structured environment for test case management. By integrating the two, you can seamlessly transition from scenario generation to execution and tracking in TestRail. This guide will walk you through the integration process, helping you efficiently transfer optimized test scenarios and datasets between the tools. By the end, you’ll understand which method best suits your needs and how to establish a seamless workflow between DesignWise and TestRail.
Depending on your scripting preferences and your TestRail license, there are three ways to import test cases and datasets from DesignWise:
- Import tests from DesignWise to TestRail using CSV (for manual test case management)
- Import tests from DesignWise to TestRail using .feature files (for automated testing with Gherkin)
- Import datasets from DesignWise to TestRail using CSV (for TestRail Enterprise users leveraging optimized test data)
Below, we’ll walk through each method and how to get started.
Import tests from DesignWise to TestRail using CSV
This flow relies on using the Manual scripting option in DesignWise. Once the steps and expected results are defined there, you can navigate to the Export screen and select the TestRail option.
Which opens the following dialog.
Make sure the Test Strength and the Export Script choices match your optimized test suite with the relevant manual script. Test Name and Description can be customized using parameterized syntax.
You can coordinate with your Organization Admin (and/or DesignWise support) to further customize the list of meta data fields available in the export dialog (e.g. adding common TestRail fields like Priority, References, or Automation Type).
Once you click the “Download” button, you will receive the CSV file in the format that immediately works for the TestRail import requirements.
Import tests from DesignWise to TestRail using .feature files
This flow relies on using the Automate scripting option in DesignWise (you can see an example in Step 4 of this tutorial and/or check the Usage button on the Automate script for the functionality overview). Once the Gherkin scenarios or outlines are defined there, you can navigate to the Export screen and select the “Automate Gherkin Scripts” option.
As in the first flow, make sure the Test Strength and the Automate Script choices match your optimized test suite with the relevant manual script.
Once you click the “Download” button, you will receive the .feature file in the format that immediately works for the TestRail import requirements.
Import datasets from DesignWise to TestRail using CSV
If you have TestRail Enterprise, you can perform scripting in TestRail and only grab the optimized dataset from DesignWise. Specifically, you can leverage the “TestRail Test Dataset” option from the "Export & API" screen of your DesignWise model (once your Scenarios are generated).