How to run for particular testcase from a testSuite using command line argument
Hello,
I am working on SOAP UI Automation using Ready API 1.9.0 version. I am trying to explicitly run a particular testcase from a particular testSuite without launching tool, from command line argument. I have tried different methods and also have gone through ReadyAPI documentation but still i didn't got any results or nothing happens when i hit commands (as mentioned in attachment) via command prompt/powershell. PFA attached document explained with screen shots.
Can you please have a look and assist me on the same.
Thanks,
Ashish
Use cmd.exe /C to run batch file from powershell
Double quotes should be open before -s and -c
test-project-file: If the file name or path includes spaces, enclose the entire argument in quotes.
Use the TestRunner GUI to create the command line
After you selected a menu command, ReadyAPI displays a dialog box, where you can configure the run parameters. Click Launch button then use that command string to run the utility from the command line.
https://support.smartbear.com/readyapi/docs/soapui/running/automating/gui.html
Command
cmd.exe /C testrunner.bat "-sTestSuite 2" "-cReport_144" "d:\GPS-API\Test Scripts\REST-GPS-soapui-project.xml"