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

How to find the mapping between testrunid and testcase id?


#1

Given list of testrun ids and a testcase id. how to find that which testrun id is mapped to given testcase id in order to update the testcase status?


#2

Hey Vatsal,

Thank you for the post. You could use a combination of the get_plans and get_runs methods. These would allow you to narrow down the test case that you are looking for. If you need to grab a full list of your test cases you can use the get_cases method. Keep in mind that this expects just the numerical ID and not the preceding C on the ID.

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