SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    May 2000
    Location
    Bangalore, India
    Posts
    25
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Testplan Marking By Named Query

    Hi,

    I have been trying to mark certain test plans by named query. Has anyone worked on this? Somehow I am not getting this done. I have lots of separate tests in the test plan depending on the functionality, these have the test case and test data defined. The script file reads these test data and runs accordingly.

    Can someone show me some light on this?

    Thanks,
    -Vadiraj

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

  2. #2
    Senior Member
    Join Date
    Nov 2001
    Location
    UK, Oxford
    Posts
    150
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Testplan Marking By Named Query

    In order to use named queries you must define some attributes.
    To define attributes:
    open up any test plan you have
    On the menubar click Testplan -> Define Attributes...
    In the 'Define Attributes' dialog hit new and add an attribute
    called "XML" (Leave 'normal' chosen in the 'New Attribute dialog'). Add some possible values for your attribute: 'yes' and 'no'.
    (the 'Add' button stays disabled until you write something in the adjacent textfield)
    OK the dialog.
    What you have just done is define an attribute which will be stored in a file called testplan.ini. Open the General Options dialog (Options -> General ...).
    In the Testplan section of this dialog you will see a path to your testplan.ini. Open up the file and check your attribute is there.

    Now how to use it:
    Lets supposing you wish to be able to mark any the tests in any testplan which relate to XML. First add the attribute to any area of the testplan you need to be marked
    Now set up a query but make sure to give it a name.
    Testplan -> Mark by Query....
    Fill in query name, say 'MarkXML'.
    Click 'Test Attributes' tab. Find your attribute 'XML' and click the right hand textfield and choose 'yes'.
    Now hit the 'Mark' button.
    Any test in your plan which you added the attribute 'XML' to with the value 'yes' will now be marked. So now you can go Run->Run Marked Tests.
    If now you look at Testplan -> Mark by Named Query... you will see your query 'MarkXML' listed.
    At any time you can use it.

    Try it out, good luck and read the help files for further stuff!

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



    [This message has been edited by johntest (edited 04-30-2003).]
    Tempus fugit, Carpe Diem, et al

 

 

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:31 AM.

Copyright BetaSoft Inc.