whitecloud
13 years agoOccasional Contributor
help on command line argument passing to project
Hi,
I searched the similar topic but still did not solve my puzzle. I try to pass a parameter from command line to project as a project level property. What I did is:
1. In soapUI GUI, right click on the project and open the "show project view" window, add a project property with name(ServerName), value().
2. Launch test running with command: testrunner.bat -r -a -j -fD:\SmartBear\Log -I -PServerName=DEV1 D:\SoapUI\code\Test.xml
After running, I open the project level window and expect to see the property 'ServerName' to have the value 'DEV1', but has no luck.
Any help is appreciated.
Thanks.
I searched the similar topic but still did not solve my puzzle. I try to pass a parameter from command line to project as a project level property. What I did is:
1. In soapUI GUI, right click on the project and open the "show project view" window, add a project property with name(ServerName), value().
2. Launch test running with command: testrunner.bat -r -a -j -fD:\SmartBear\Log -I -PServerName=DEV1 D:\SoapUI\code\Test.xml
After running, I open the project level window and expect to see the property 'ServerName' to have the value 'DEV1', but has no luck.
Any help is appreciated.
Thanks.