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

Importint test reports pie chart information into excel


Is there an API to get the test reports pie chart information especially Tested and Untested test cases information and Percentage information?

I am working on to gather the test reports informatoin of various instances and put up a compartison chart for various test reports. Any help would be appreciated.



Hello Raja,

Thanks for your posting! Yes, you can use the get_run and/or get_plan API methods to get the pie chart statistics via the API. Both API methods return the passed, failed, blocked etc. counts for the entire run/plan and you can use these numbers to generate the same statistics TestRail presents as part of the pie chart:

I hope this helps!



Thanks Tobias for your prompt reply.


You are welcome, Raja!