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

Create new testruns based on labels


#1

Is there a way for me to write a code to create testruns based on the labels? I want to use python to do that


#2

Hello Saurabh,

Thanks for your post! Sure, you can create any external script that allows you to create test runs via TestRail’s API. While we don’t have any examples of this type of script, you can learn more about using TestRail’s API with Python on our website here:

http://docs.gurock.com/testrail-api2/bindings-python
http://docs.gurock.com/testrail-api2/reference-runs

Hope this helps!

Regards,
Marco