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

Capturing First Time Pass of a Test Case

We are planning to capture ‘First Time Pass’ of a Test Case on the overall statistics of a Project Test Run. Any suggestions are greatly appreciated.
Thanks in advance!

Hi folks,
Sharing my solution, able to get the ‘First Time Pass’ count for a specific Test Run using TestRail API & Postman.
In my case ‘First Time Pass’ is a custom drop down field with values (1, None; 2, No;3,Yes) on ‘Add Result’ popup window.
The TestRail API ‘get_results_for_run’ method doesn’t currently support the use of filters based on custom fields, but for use in Postman used a script that would automatically parse the response for that specific field value and return the total number of tests where that option was selected.

1 Like