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

How to create Test Run with Multiple iterations of a same testcase using API


#1

Hi all,

I can create a test run using add_run , but while creating a test run I want to add same test suppose “Addition” with test ID “12” 10 times.
Now while creating test run using API how to achieve multiple iterations of same test case?

thanks
–girija


#2

@tgurock I am kind of stuck in this. any idea how to do using API? create test run with multiple iterations of same tests.


#3

Hi GirijaJoshi,

Thank you for the post. Just to be sure I understand, you are wanting to create a test run but include the same test in that run multiple times?


#4

@martylavender correct you understood correctly.


#5

Hi GirijaJoshi,

Thanks for confirming! Including the same test case multiple times in the same test run wouldn’t be supported currently. We would recommend creating a test plan and adding multiple runs to the plan that contain the same test case. You can also look into using TestRail’s test plan configurations to manage this if you are adding multiple test cases to the same test plan for use with various platform configurations (e.g. such as browser, operating system, device, etc. combinations):

http://www.gurock.com/testrail/videos/test-plans-configurations/

Hope this helps!

Regards,
Marco


#6

@mgarcia thanks Marco for the reply. Currently I am doing same thing as you suggested.