Running a Silk Test Workbench test from the command line
When running Silk Test Workbench tests from the command line, you will use the STW.exe command. The command line program contains both mandatory and optional parameters. Parameters can be specified using either the long or short form of its name.
See syntax below that uses the manditory parameters for the STW.exe command:-
STW.exe -d dsn -u username -p password -s script
Some of the optional parameters allow you to do things such as send variables with a script, specify a particular web browser to test, create an output file or setting a connectionstring (if testing mobile). See example below that will run a browser script from the common project in the Chrome browser:-
STW.exe -d SilkTest -u admin -p admin -r common -s MyBrowserTest -b GoogleChrome
For further details please see help section "STW.EXE Command Line". The above example is also demonstrated in the following video:-