background image
<< Recovery System - Primary Extension field | Recovery System - How the recovery system starts the application >>
Recovery System - The recovery system's flow of control
<< Recovery System - Primary Extension field | Recovery System - How the recovery system starts the application >>
User's Guide
291
15 U
NDERSTANDING
THE
R
ECOVERY
S
YSTEM
The recovery system's flow of control
Procedure To disable support for browsers on a host machine:
1
Start SilkTest.
2
Select Options/Extensions.
The Extensions dialog opens.
3
Disable any browser extensions you do not plan to use by choosing
Disabled in the Primary Extension field and unchecking all check boxes
in the Other Extensions columns.
4
Click OK to close the Extensions dialog.
The recovery system's flow of control
Before you modify the recovery system, you need to understand the flow of
control as each of your testcases executes. Here is the sequence of steps:
1
Execute the DefaultTestcaseEnter function. This function, in turn, calls
the SetAppState function, which does the following:
a
Execute the DefaultBaseState application state, which makes sure
that the application is running, is not minimized, has only its main
window open, and is active (in that order).
The DefaultBaseState application state also executes the BaseState
method of the main window. This method is the place to add those
additional steps that your application requires to be at the base state.
b
If there is a chain of application states associated with the testcase,
execute each one in succession, starting at the lowest application
state in the chain. An application state is chained with another by
using the basedon keyword in its definition. Thus, there can be
many application states, each of which is based on the previous in
the chain.
2
Execute the testcase.
3
Execute the DefaultTestcaseExit function, which calls the SetBaseState
function, which calls the DefaultBaseState application state.
The following diagram shows the order of execution of the various state-
setting routines: