Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

How can SilkTest be set up to start automatically after rebooting your PC and then run a testplan/testscript on Windows XP?

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

Old KB# 21964


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 19:26
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.