How the Non-Web Recovery System Starts the Application

To start a non-Web application, the recovery system executes the Invoke method for the main window of the application. The Invoke method relies on the sCmdLine constant as recorded for the main window when you create a test frame.

For example, here is how a declaration for the sCmdLine constant might look for a sample Text Editor application running under Windows:

const sCmdLine = "c:\ProgramFiles\<SilkTest install directory>\SilkTest\TextEdit.exe"

After it starts the application, the recovery system checks whether the main window is minimized, and, if it is, uses the Restore method to open the icon and restore the application to its proper size.

The limit on the sCmdLine constant is 8191 characters.