background image
<< Understanding the Recovery System | Recovery System - Enabling browser support on a target machine >>
Recovery System - Setting up the recovery system
<< Understanding the Recovery System | Recovery System - Enabling browser support on a target machine >>
288
User's Guide
15 U
NDERSTANDING
THE
R
ECOVERY
S
YSTEM
Setting up the recovery system
Note This chapter focuses on the recovery system used in non-Web
applications. For information about the recovery system that is used
when you are testing Web applications, see "The recovery system for
Web applications" in Chapter 3 of Testing Web Applications with
SilkTest
When the recovery
system is used
SilkTest uses its recovery system for all testcases that are based on
DefaultBaseState or based on a chain of application states that ultimately are
based on DefaultBaseState.
The recovery system is not used with testcases based on an application state
of None or based on a chain of application states ultimately based on None.
For example, if you define a testcase and specify (None) in the Application
State list box, it will not use the recovery system. Such a testcase will be
defined in the script file as:
testcase
Name () appstate none
SilkTest records testcases based on DefaultBaseState as:
testcase
Name ()
For more information about application states, see "Using application states"
on page 185.
The base state
The base state is the state you expect the application to be in at the start of
each testcase. Although this can differ from application to application, the
default recovery system considers an application to be at the base state when
·
The application is running
·
The application is not minimized
·
The application is active
·
No other window besides the main window is open
If this is not sufficient or if the recovery system is not able to achieve one or
more of these conditions, you need to modify the recovery system.
Setting up the recovery system
The recovery system works differently when you are testing Web applications
than when you are testing non-Web applications. If you plan to test Web
applications, make sure you enable the correct browser extension(s) on your
target and host machine. For more information, see Chapter 3, "Enabling
Extensions for Applications Under Test" a
nd Testing Web Applications with
SilkTest
.