How can SilkTest be set up to start automatically after rebooting your PC and then run a testplan/testscript on Windows XP?
One way to start SilkTest after a reboot is to add a short cut to the "startup" folder and to enable automatic logon.
- To allow for automatic logon you must download and install a Microsoft utility called TweakUI.
- Launch this utility after installing, and select the Logon option.
- Select the "Auto logon" submenu option.
- On this screen check the checkbox labelled "Log on automatically at system startup", and set your password as required, then click "apply" enabling the automatic logon feature, and then close the utility.
If you wish SilkTest to start after a reboot for all users then place the shortcut in the following directory for XP.
C:\Documents and Settings\All Users\Start Menu\Programs\Startup
Or for a single user
C:\Documents and Settings#####\Start Menu\Programs\Startup
Replacing ##### in the above line with the username of the user that requires SilkTest to start after a reboot.
The format of the shortcut target line is as follows:
"C:\PROGRA~1\Segue\SilkTest\partner.exe" -opt C:\testMyOptionSet.opt -r C:\test\TestPlan.pln"
The above command will start SilkTest, load an option set then run the testplan.
- -opt Specifies an options set. Must be followed by the path of the .opt file you want to use.
- -r Must be the last option specified, followed only by the name of a script (and, optionally, arguments that the script takes), a suite, testplan, or link file. If you specify a link file, tells SilkTest to resolve the link and attempt to open the link target. Otherwise, tells SilkTest to run the specified script, suite, or testplan, optionally passing args as arguments to a script file