Setting the Recovery System for the Classic Agent

The recovery system ensures that each test case begins and ends with the application in its intended state. Silk Test Classic refers to this intended application state as the BaseState. The recovery system allows you to run tests unattended. When your application fails, the recovery system restores the application to the BaseState, so that the rest of your tests can continue to run unattended.

If you are testing an application that uses both the Classic Agent and the Open Agent, set the Agent that will start the application as the default Agent and then set the recovery system. If you use the Open Agent to start the application, set the recovery system for the Open Agent.

  1. Make sure the application that you are testing is running.
  2. Click Set Recovery System on the Basic Workflow bar. If the workflow bar is not visible, click Workflows > Basic to enable it.
  3. From the Application list, click the name of the application that you are testing.

    All open applications that are not minimized are listed. This list is dynamic and will update if you open a new application. If you are connected to the Open Agent, only those applications that have extensions enabled display in the list.

    Note: If you selected a non-web application as the application:
    • The Command line text box displays the path to the executable (.exe) for the application that you have selected.
    • The Working directory text box displays the path of the application you selected.

    If you selected a web application, the Start testing on this page text box displays the URL for the application you selected. If an application displays in the list, but the URL does not display in this text box, your extensions may not be enabled correctly. Click Enable Extensions in the Basic Workflow bar to automatically enable and test extension settings.

  4. Optional: In the Frame file name text box, modify the frame file name and click Browse to specify the location in which you want to save this file. Frame files must have a .inc extension. By default, this field displays the default name and path of the frame file you are creating. The default is frame.inc. If frame.inc already exists, Silk Test Classic appends the next logical number to the new frame file name; for example, frame1.inc.
  5. Optional: In the Window name text box, change the window name to use a short name to identify your application.
  6. Click OK.
  7. Click OK when the message indicating that the recovery system is configured displays.
  8. A new 4Test include file, frame.inc, opens in the Silk Test Editor. Click the plus sign in the file to see the contents of the frame file.
  9. Record a test case.