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

Execute batch file from trigger.ui


#1

Hi all,

I’m interested in executing tests from Test Rail UI. To do this, I’ve read all the available documentation about triggers and automation, but I’ve not find what I’m really looking for.
I have already created the Test Run button, but now I need to modify this trigger.ui script.

As a first step, I would like to execute a simple batch at my local PC, triggering it from Test Rail. Could anyone provide me an example of how to call it using JS?
As a second step, I will create a batch file which needs a parameter (Test Run ID), so using the Test Run button, I will send the Test Run ID and from that, I will execute all the test cases according to that Run.

Thank you for your help,

Kind regards.