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

Add_case to specific test suite


#1

I would like to use add_case API to automate adding test cases. However, I don’t see how I would link the test case to an existing test suite. There are no fields in API for suite id, only milestone id.

I am using v2 of APIs:
http://docs.gurock.com/testrail-api2/reference-cases#add_case

Thanks!
-jacqui


#2

Hi Jacqui,

Thanks for your posting! Sure, happy to help. You would add a new case to a specific section and this section in turn is linked to a test suite (or just the case repository if you use the single-suite mode for projects).

I hope this helps!

Cheers,
Tobias