SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    May 2001
    Location
    Folsom, CA, USA
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Results comparison

    I'm using a file to open and populate a set of text fields, and then using the DB_ExecuteSql function to check that this data has been written correctly to the db.

    What's the best way to handle the results set? Should I store everything in variables and do comparisons within the test case so that exceptions are caught? Or would it be better to write everything out to a third file and do a visual review?

    Thanks for any advice,

    Carol



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

  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: Results comparison

    Both of these approaches are equally good. What I prefer is to write the results in a third file and then do a file read to validate all the written values.

    You should write structured date ( e.g. a 4Test Record ) in the file rather than a line at a time.

    Hope this helps!

    Cheers,

    Vishal Grover.

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

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

    Re: Results comparison

    Both of these approaches are equally good. What I prefer is to write the results in a third file and then do a file read to validate all the written values.

    You should write structured date ( e.g. a 4Test Record ) in the file rather than a line at a time.

    Hope this helps!

    Cheers,

    Vishal Grover.

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

  4. #4
    Senior Member
    Join Date
    Aug 1999
    Location
    Cambridge, UK
    Posts
    470
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Results comparison

    After a couple of strategic redesigns, we came up with a fairly decent way of dealing with database checks of this sort; a reasonably full explanation is given at <a href=http://www.qaforums.com/Forum1/HTML/000778.html>http://www.qaforums.com/Forum1/HTML/000778.html</a>.

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


    [This message has been edited by vincebowdren (edited 05-31-2001).]

  5. #5
    Senior Member
    Join Date
    Jul 1999
    Location
    Burlingame CA 94010
    Posts
    502
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Results comparison

    Vince's ideas are right on target !!!!!

    ------------------
    John W Green
    jwgreen@automationexpertise.com
    http://www.automationexpertise.com

 

 

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 04:18 PM.

Copyright BetaSoft Inc.