Whats the difference between Basestate & Default basestate?

Answers were Sorted based on User's Feedback



Whats the difference between Basestate & Default basestate?..

Answer / 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

Whats the difference between Basestate & Default basestate?..

Answer / mahi

Base state:An applications base state is the known,stable
state that we expect the application to be in before each
test case begins execution,and the state the application can
be returned to after each test case has ended execution.this
state may be the state of application when it is first
started.

Default Base State:Silk test provides a default base state
for application for applications which ensures the following
conditions are meet before recording & executing a test case.
.the application is running
.the application is not minimized
.the application is the active application
.no window other than the applications main window are open

there is only one default base state(normally the one from
silk test in default.inc)there may be one base state
function in your mainwin_defination but there may be a lot
of application status depending on how you build your
testing frame work.

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More Silk Test Interview Questions

How dom browser extension identify a web application ui object?

0 Answers  


who is the head of the BMC

1 Answers   BMC,


hai iam not working.iam try to job.on practice i have dout .HOW TO TEST THE CALCULATOR BY USING DATA DRIVEN.PLS REPLY WITH CODE.I HAVE NO IDEA ON DATA DRIVEN.

2 Answers   Aricent, Cincom,


How can you read the contents of PDF using silktest?

2 Answers  


can any one please tell me the full form of .g.t in silktest datadriven method

0 Answers   STC,






How to create group and sub group descriptions in a testplan?

0 Answers  


I'm involved in automation using silk test of an swing application running in a browser. There is a window whose name is a dynamic. i.e based on the input(eg: some filename) the window name keeps on changing. I need to capture the window name for every run of silk test case for different input filenames. I'm aware of GetName() in SilkTest, but its not working for me. Can anybody suggest me any logic to achieve this using silktest?

3 Answers  


I have Silk Test 7.5 installed to my machine. My silk recoginizes all the windows applications.But its not recoginizing the web application.When i try to ENABLE EXTENSION for any web application i am not getting the window with the two radio button namely DOM and VO. What could be the problem? I also tried using browsers like IE,FF and also uninstalled the silk n reinstalled it again.But it works out with my neighbours system....Wht could be the problem?????

3 Answers   Borland, Genpact,


can we test the application by inserting checkpoints using silktest as we do in qtp and winrunner and also what are the automation frameworks in silktest

0 Answers  


How to create a new silktest project?

0 Answers  


what is silk testing?

1 Answers  


What is the dom browser extension?

0 Answers  


Categories