Forum Discussion
No, it's not possible to provide a set of TestSuite's to run, so I guess you have to chain your commands like this:
testrunner.bat -sA -fC:\reports -R"TestSuite Report" -FPDF -EDefault C:\Users\me\soapui-project.xml && testrunner.bat -sD -fC:\reports -R"TestSuite Report" -FPDF -EDefault C:\Users\me\soapui-project.xml
Hi,
I have similar problem - I want to run from command line some set of Test Suites (Test Cases) from my Test Project.
Is there any new solution for this issue after almost 4 years?
Or maybe can I set some property in SoapUI NG Pro, in Test Case - to indicate which tests I want to execute - and then include this property in command line?
Thanks!
Anna
- nmrao8 years agoChampion Level 3Yes, there is new feature called tag your test cases and that should allow to execute the specified test cases of tagged ones.
find info regarding tags: http://readyapi.smartbear.com/structure/suites/window/cases/tags- anna_pi8 years agoNew Contributor
Thanks for your help!
Tagging test cases is the solution for my problem.
(To run tagged test cases from the command line I have used argument: -T"TestCase myTag" )
Regards,
Anna
- Radford8 years agoSuper Contributor
While it is possible to run a single test case or single test suite from the command line, see details of command line arguments:
http://readyapi.smartbear.com/features/automation/testrunner/cli
I don't believe it it'd possible to provide a list of test suitse or cases, but a work-around which may or may not suit your use case is to disable the test suites / test cases you don't want to run via the GUI before running via the command line.Edit: For future reference my statement above was incorrect, please see response from nmrao below for an easy solution.