Running the Base State

Before starting to record a test against an application, you can execute the base state to bring all applications, against which you want to record, to the appropriate state for recording.

When you execute the base state, all application configurations in the active visual test or .NET script, which have Execute BaseState set, are executed.

To run the base state:

Click Actions > Execute BaseState.
Depending on the type of the application, Silk Test Workbench performs the following actions:
  • Executes the application configurations of all applications, for which an application configuration is defined in the current project.
  • For desktop applications, Silk Test Workbench opens the application from the specified installation directory. If the specified path to the directory includes the %ProgramFiles% environment variable, and Silk Test Workbench cannot find the application in the Program Files directory, Silk Test Workbench additionally searches in the Program Files (x86) directory. If the specified path to the directory includes the %ProgramFiles(x86)% environment variable, Silk Test Workbench first searches in the Program Files (x86) directory, and if the application is not found, Silk Test Workbench additionally searches the Program Files directory.
  • For web applications, Silk Test Workbench opens the web application in the specified browser and to the specified URL.
  • For mobile web applications, Silk Test Workbench opens the specified browser on the specified mobile device or Emulator to the specified URL.
  • For mobile native applications, Silk Test Workbench opens the specified app on the specified mobile device or Emulator. If the specified app is not installed on the specified mobile device or Emulator, Silk Test Workbench installs and then opens the app.