How to Run two tags together in SOAPUI pro??
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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??
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Olga Terentieva
SmartBear Assistant Community Manager
