Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

Can I import already Passed/Failed Test case into new testrun with same Passed/Failed status


#1

Can I import already Passed/Failed Test case into new testrun with same Passed/Failed status

Summary: Can i create replica of old test run?


#2

Hello Navneet,

Thanks for your post! Currently it wouldn’t be possible to copy/import a test run including the test results as only test cases can be imported via TestRail’s XML/CSV import tools. You can copy a test run using TestRail’s Rerun feature, however this would start the tests at their untested state in the new test run and wouldn’t bring over the previous run’s results. The only method to accomplish something similar would be to use TestRail’s API to copy + add results based on a previous test run, although this would take a bit of development work on your end to accomplish. You can learn more about TestRail’s API here:

http://docs.gurock.com/testrail-api2/start

Hope this helps!

Regards,
Marco