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

Add UI script to more than one page


#1

Hello,

I implemented an UI script for triggering automated tests in our Test Automation Framework.
This script can should be triggered from many different views:

/runs/overview/
/plans/view/
/runs/view/

My question would be, can I somehow include all this pages in one UI scirpt in the meta?
includes: ^runs/overview/ …

I tired a few way without success. Maybe I just missed the info in the docus.
The point would be that I would like to have only 1 script what covers all the pages, instead of having several copies for the UI scrip assigned to different pages.

Thank you very much for your help in advance.

Szabolcs Kecskes


#2

Hello Szabolcs,

Thanks for your posting. You can either use the following to apply the UI script to all pages in TestRail:

Or, since the includes directive is just a regular expression, you can also use the following to apply it to several pages at once:

I hope this helps!

Regards,
Tobias


#3

It works fins.

Thank you very much.


#4

You are welcome, Szabolcs!

Regards,
Tobias