SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    May 2001
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Application State: basedon DefaultBaseState and none

    User Abhra Debroy (abhra@prabodhan.com.nospam) posted:

    Hi
    I am a newbie trying to understand the tools. I have earlier worked on
    WinRunner. I found Silk Test really interesting.
    Can any one please explain difference between creating Application State
    basedon DefaultBaseState and none.

    The help document available is quite confusing. Please also mention the
    advantage of two state and when to use which state

    Thank you in advance

    Abhra

  2. #2
    Member
    Join Date
    Oct 2001
    Posts
    93
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Application State: basedon DefaultBaseState and none

    Abhra,

    The basedon keywork tells SilkTest to run the specified application state before running the selected one. For example, if you have:
    appstate myNewState basedon DefaultBaseState,
    when you start a test from myNewState, the code in DefaultBaseState is run, followed by the code in myNewState.

    This allows you to build up your application states in a modular fashion. SO you could then create a new state:

    appstate mySecondState based on myNewState

    In this case starting a test from myNewState would first call DefaultBaseState, then myNewState and then mySecondState. This is because mySecondState calls myNewState which in turn calls DefaultBaseState.

    Generally you start appstates from DefaultBaseState or your own states as above. I have been using Silk for quite a few years now and cannot think of a single instance where I have wanted to start an appstate from 'none'. This is because you are not calling anything before your appstate so are switching off the recovery system.

    Hope this helps,

    Paul

    ------------------
    Paul Tucker
    Merit AT
    www.merit-at.com

  3. #3
    Senior Member
    Join Date
    Jun 2000
    Location
    Hartford, CT, USA
    Posts
    163
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Application State: basedon DefaultBaseState and none

    User Jaimini Bhatt (jaiminita@yahoo.com.nospam) posted:

    Default base state is where you would want your application to start from and end at. Application state is a place where you would want your particular test to begin and end at.
    e.g. If you are testing a website lets take hotmail.com then a default base state could be the login screen. The application state on the other hand could be your inside module where your tests are located. If you are testing the Folder management page, then your application state would be recorded/scripted in such a way that before your test starts, the agent would drive the browser upto the folders page and then your test steps could be performed. This is a big advantage for scripting as you don't have to repeat all those steps that are necessary to reach a particular application state.

    When you need your testcase to not rely on application states and would want to begin your test's every steps to be mentioned you use 'Application state'.

    I would use 'appstate none' when I am using a client-server instead of default base state.
    Whenever I want to test browser based scenarios, I use default basestate/<application state>.

    Ofcourse, you may also have a default basestate modified to take care of various default settings of your application like your login-dialogbox or some attributes like Window to be maximised, certain option pre-set, ... etc. It all depend upon your particular situation.

    -Jaimini

    ----- Original Message -----
    From: Abhra Debroy
    To: silktest@yahoogroups.com
    Cc: real_qa_guy@yahoo.com
    Sent: Friday, March 08, 2002 3:21 AM
    Subject: [silktest] Application State: basedon DefaultBaseState and none


    Hi
    I am a newbie trying to understand the tools. I have earlier worked on
    WinRunner. I found Silk Test really interesting.
    Can any one please explain difference between creating Application State
    basedon DefaultBaseState and none.

    The help document available is quite confusing. Please also mention the
    advantage of two state and when to use which state

    Thank you in advance

    Abhra
    Yahoo! Groups Sponsor
    ADVERTISEMENT




    Post message: silktest@yahoogroups.com
    Subscribe: silktest-subscribe@yahoogroups.com
    Unsubscribe: silktest-unsubscribe@yahoogroups.com
    List owner: silktest-owner@yahoogroups.com
    URL to this page: http://groups.yahoo.com/group/silktest


    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
    [Non-text portions of this message have been removed]


    Jaimini Bhatt

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 07:43 PM.

Copyright BetaSoft Inc.