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

Getting details about a particular testcase associated with a particular run


#1

Hi !

I am relative newbie to python’s testrail API.

I’d like to be able to do the following:

given a particular test run - get firstly all testcases which are part of the run and then on a per testcase basis get the following attributes:

test status:
any defect associated with it:
when was the test last updated:
who last updated the testcase:

I am trying the API’s for get_results, get_results_for_run, get_results_for_case - but I am not able to get exactly all the information I am looking for.

Any pointers and/or code snippets to help me move in the right direction are very much appreciated.

Thanks and regards,
Akshay