SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Mar 2002
    Location
    Quebec, Quebec, Canada
    Posts
    37
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Data-Driven testcase

    Did someone try the Data-Driven funtion of SilkTest 6.0 ? I've tried it on a simple testcase and I have the following error :
    *** Error: Table record type does not correspond to a known table: recdatadriven
    Occurred in RaiseError
    Called from DefaultRunDataDrivenTestCase at datadrivetc.inc(247)


    ------------------
    Remy
    Remy

  2. #2
    Senior Member
    Join Date
    Oct 2001
    Location
    NC, United States
    Posts
    148
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Data-Driven testcase

    yes...i played with it a bit. since ST does all the base work for you now, the output gets stored in a record. so if you look in the code it generates(stating 'DO NOT REMOVE') there are the record definitions you need to look in and take it from there. i'm guessing what you stumbled on must be with the 'Global record containing sample data for each table' section, i had no need for it so commented it.

    ------------------
    -gram
    -gram

  3. #3
    Member
    Join Date
    Mar 2002
    Location
    Quebec, Quebec, Canada
    Posts
    37
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Data-Driven testcase

    Does it work well with you ?
    I found one of the problem, I had no record in my database, because they were not saved because I had a "-" in my table name. The problem is still here if I check "Use sample data from script" while silk doesn't make any connection to the DB with this option. I'm still investigating. if you have any suggestion, thanks in advance.

    ------------------
    Remy
    Remy

  4. #4
    Senior Member
    Join Date
    Jun 2000
    Location
    Chicago, IL USA
    Posts
    383
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Data-Driven testcase

    I just started looking at this new "data-driven" feature in 6.0.

    Looks like a much better system than those flaky, buggy "pln" files.

    It looks very similar to Mercury's definition of "data-driven".

    Is it ?

    ------------------
    Rob Kapteyn
    Rob Kapteyn, CSTE
    RobKapteyn@gmail.com

  5. #5
    Senior Member
    Join Date
    Oct 2001
    Location
    NC, United States
    Posts
    148
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Data-Driven testcase

    Remy,
    i did not get to try with empty table or include data from testcase, and i am not sure if '-' in table name causes any conflict. check to see if the dsn is good and it connects.

    Rob,
    it is in the same sense as WinRunner datadriven in that the variable substitution is automated and it loops to number of records......but it still uses the ST concept of creating DSN, connecting and all the DB_functions.

    ------------------
    -gram
    -gram

 

 

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 12:44 AM.

Copyright BetaSoft Inc.