Forum Discussion
NidhiGarg
7 years agoOccasional Contributor
Yes, All my test-cases are segregated by Sanity ,Regression
So i want to run Sanity & Regression both tags scenarios what should be written to execute those.
because if i add "-TTestCase Smoke,Regression" this is an AND condition for OR condition what can be done??
Nastya_Khovrina
Alumni
7 years agoHi,
Try the following:
create a Project Setup script -
- which checks the values of the TestCaseTags and TestSuiteTags Global Properties (they are passed as command-line arguments and their format is "tag1,tag2,tagN");
- and which disables the corresponding items, which don't contain any of the listed tags.
- Olga_T7 years ago
Alumni
Hi all,
NidhiGarg, have you had a chance to try the suggestion that Nastya provided? Does this work for you?
Many thanks for your assistance, Nastya_Khovrina! :heart: