I’m trying to use the TestRail API for automatically logging test results.
Using add_result_for_case, it required a runID. The problem is that I have organized my test cases into about 10 test suites or so. I have created a test plan specifically for automation, when I add each suite to that plan, each one will have a different RunID.
The problem is that it’s not the same RunID for all my test cases and I would need to know which suite the test belongs to and then what the RunID is for that particular suite and so on. As the project grows and even new projects are added this is going to be a big headache to deal with.
Is there any other way to do this? Any tips? Is it at all possible to log test results without specifiying a RunID? I don’t really care for the test result to be tied to a test plan anyway, since this is just going to be automated tests that run regularily so a generic bucket plan is all I need. All I’m after is being able to log the test result from an automated run so I can keep track of the test result history for the particular test case.
Is there any simple way to do this, without having to deal with test plans and run ids, etc.?