Forum Discussion
- Nastya_KhovrinaSmartBear Alumni (Retired)
Hi Nidhi,
From https://support.smartbear.com/readyapi/docs/soapui/running/automating/cli.html-T: Specifies test suites or test cases to be executed by their tags.
Usage:
-T"TestCase tag1[, tag2 ...]"
If you specify one or several tags, the test runner will run only those test suites or test cases that have all the tags you have specified. For example, if you specify
-T"TestCase tag1, tag2"
, it will not run test cases that have tag1 or tag2, but it will run test cases that have both tag1 and tag2.Do your TestCases have both tags?
- NidhiGargOccasional 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_KhovrinaSmartBear Alumni (Retired)
Hi,
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.
Related Content
- 9 years ago
- 5 years ago
- 6 years ago
Recent Discussions
- 11 days ago