Professional Documents
Culture Documents
SilkTest Training - D2
SilkTest Training - D2
SilkTest Training - D2
Day 2
Application State
Executes the application state chain associated with the testcase, from the
SetAppState base state up to the highest application state.
Testcase
DefaultTestcaseExit
• Before the first line of your testcase begins running, the recovery system
restores the application to the BaseState even if an unexpected event
corrupted the application between testcases.
• After the testcase completes, if the testcase was not able to clean up after
itself (for example, it could not close a dialog it opened), the recovery
system restores the application to the BaseState.
Default Recovery System
Function Purpose
DefaultBaseState Restores the default BaseState, then call the application’s BaseState function, if defined.
• For Statement
• While statement
• Do..except statement
• Switch statement
Q?A