background image
<< Overview - The anatomy of a basic testcase | Overview - GUI-specific commands >>
Overview - SilkTest architecture
<< Overview - The anatomy of a basic testcase | Overview - GUI-specific commands >>
User's Guide
27
1 O
VERVIEW
SilkTest architecture
The built-in recovery system
SilkTest maximizes your productivity by providing a completely integrated
recovery system, which makes it possible for you to run your tests
unattended. When the application you are testing fails, or even crashes, the
recovery system restores the application to its base state so that the rest of
your tests can continue to run.
The recovery system can restore your application to its base state at any point
during testcase execution:
Before the first line of your testcase begins running, the recovery system
restores the application to the base state even if an unexpected event
corrupted the application between testcases.
During a testcase, if an application error occurs, the recovery system
terminates the execution of the testcase, writes a message in the error log, and
restores the application to the base state before running the next testcase.
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 base state.
Note For more information, see Chapter 15, "Understanding the
Recovery System".
SilkTest architecture
Normal use of an application consists of a person manipulating a keyboard
and mouse to initiate application operations. The person is said to be
interacting with the GUI (Graphical User Interface). During SilkTest testing,
SilkTest interacts with the GUI to submit operations to the application
automatically. Thus SilkTest can simulate the actions of a person who is
exercising all the capabilities of an application and verifying the results of
each operation. The simulated user (SilkTest) is said to be driving the
application. The application under test reacts to the simulated user exactly as
it would react to a human user.
SilkTest consists of two distinct software components that execute in separate
processes:
·
The SilkTest host software
·
The 4Test Agent software