Whats the difference between Basestate & Default basestate?
Answer Posted / sid
Base state:-
An application’s base state is the known, stable state that
you expect the
application to be in before each testcase begins execution,
and the state the
application can be returned to after each testcase has
ended execution. This
state may be the state of an application when it is first
started.
Base states are important because they ensure the integrity
of your tests. By
guaranteeing that each testcase can start from a stable
base state, you can be
assured that an error in one testcase does not cause
subsequent testcases to
fail.
When you activate the recovery system for one or more
testcases, SilkTest
automatically ensures that your application is at its base
state during the
following three stages:
• Before a testcase is run
• During the execution of a testcase
If an error occurs, SilkTest does the following:
- Stops execution of the testcase
- Transfers control to the recovery system, which restores
the
application to its base state and logs the error in a
results file
- Resumes script execution by running the next testcase
after the
failed testcase
• After a testcase completes successfully
The recovery system makes sure that the testcase was able
to “clean up” after
itself, so that the next testcase is run under valid
conditions.
Default base state:-
SilkTest provides a default base state for applications,
which ensures the
following conditions are met before recording and executing
a testcase:
• The application is running
• The application is not minimized
• The application is the active application
• No windows other than the application’s main window are
open
Default base state ensures the following for browsers in
addition to the items
listed above:
• The browser is ready
• Constants are set
• The browser has toolbars, location and status bar
displayed.
Hope this is help full :-)
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How to define an object verification in a test case?
What are the important aspects of a test case?
Hi All, An newbiee to silk test tool. I wanted to write a function which checks the browser type installed in the local machine & then based on the browser type test case should run. I tried little bit writing the function : Void Func_ValidateBrowserType() Window myWin myWin = Browser.GetRealBrowser () print (myWin) Any help please.. Thanks, V
How to run all test cases in a testplan?
How to run a test case from a testplan file?
What is multi-tagging?
Can silktest switch browsers automatically?
What are the default testplan attributes?
How to record a test case?
What is defaultbasestate?
In SilkTest we have a function Except Log which displays the path of the error occured in a Script.In QTP do we have any function like that?
What is the syntax of ui object identifier used by dom extension?
How to open an existing silktest project?
How to assign attribute values to test cases?
How to run a test case from a test script file?