SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Dec 2002
    Posts
    98
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Using \'if\' statement in Testplan

    I am not sure if it is possible to use a 'if' statement in the Testplan file.

    e.g I would like to do somthing like this,

    The bRegression is a global variable in the Testplan file.

    The reason I would like to do this is to see if I can use the same testcase in 2 different scenarios.

    Thanks in advance for your help.

    ------------------
    DJ


    [This message has been edited by djava (edited 04-23-2003).]
    DJ

  2. #2
    Super Member
    Join Date
    Jul 2001
    Location
    Earth
    Posts
    1,882
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Using \'if\' statement in Testplan

    Can't use logic statements in it....You can make attributes though and have a query that will mark the appropriate testcase to be run when needed though.

    ------------------
    James Soderborg
    http://www.ameliortech.com
    jamesso@ameliortech.com

  3. #3
    Member
    Join Date
    Dec 2002
    Posts
    98
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Using \'if\' statement in Testplan

    Hi James,

    Thanks for your help.

    I haven't used attributes so far. But I would like to use the same testcase for 2 different scenarios.

    Can you please explain how?

    Thanks a lot.



    ------------------
    DJ
    DJ

  4. #4
    Member
    Join Date
    Dec 2002
    Posts
    98
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Using \'if\' statement in Testplan

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by jamesso:
    Can't use logic statements in it....You can make attributes though and have a query that will mark the appropriate testcase to be run when needed though.

    <HR></BLOCKQUOTE>

    This hint helped I figured it out.

    Thank you very much.



    ------------------
    DJ
    DJ

 

 

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 02:24 AM.

Copyright BetaSoft Inc.