SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Oct 2000
    Location
    Dublin, CA, USA
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    multitestcase name ()

    I have two multitestcase name1 (), and multitestcase name2 ()

    Q: How can I call appstate for multitestcase name2 ()

    It's executing first multitestcase properly, then while going to second multitestcase, It's loading appstate which I don't want, I don't want any appstate for second multitestcase (appstate none) any idea?



    ------------------
    HyderFatima

  2. #2
    Junior Member
    Join Date
    May 2001
    Location
    New Delhi , India
    Posts
    28
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: multitestcase name ()

    Hi,

    How are you calling your second testcase name2 ()?

    try using :

    testcase name2 () appstate none
    {
    // your code goes here.
    }

    This should work as , I have been using this always , it does not load any appstate if it not defined i.e. by default it goes to DefaultBaseState , but specifying "appstate none" is mandatory in this case , if you haven't defined any appstate for any particular testcase , otherwise it will not run.

    Correct me , if I misunderstood your question in the first place.

    Cheers,
    Grover.

    ------------------

  3. #3
    Senior Member
    Join Date
    Oct 2000
    Location
    Laurel, Maryland, USA
    Posts
    204
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: multitestcase name ()


    I had the same problem a while back - here is the link to that thread. John Green gave me some good advice on how to handle this situation.
    http://www.qaforums.com/Forum1/HTML/001843.html

    I am now using a driver program to call other test cases in sequence. I can call two distinct applications this way and I can set the base state of both of them. The problem with this is that everything is done in sequence rather than in parallel. Let me know if you would like more information on how this can be accomplished.

    ------------------
    Atlee

  4. #4
    Junior Member
    Join Date
    Oct 2000
    Location
    Dublin, CA, USA
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: multitestcase name ()

    Hi,

    I'm taking about multitestcase () not testcase (), appstate none is used for testcase, Also, I'm using single application not two, thanks by the way...

    Hyder
    ssyed@pixion.com

    ------------------
    HyderFatima

  5. #5
    Member
    Join Date
    Nov 2000
    Location
    Tampa, FL USA
    Posts
    90
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: multitestcase name ()

    have you tried SetMultiAppStates ( ) ??? or the related functions (setMultiBaseStates(), etc??

    ------------------


    [This message has been edited by janek (edited 06-20-2001).]

 

 

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:15 PM.

Copyright BetaSoft Inc.