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

[C#]How to use add_run to automatically add test run to testrail


Hi, I’m new to QA and I’m wondering how to use the add_run method to automatically create test run on test rail. The problem I’m having right now is that the test methods are scattered in different cs files which means I cannot invoke the add_run method in the test setup. I was thinking creating a new class which will invoke add_run first then call all the test method but it seems hard to implement. Any help is appreciated.

Thank you!