SPONSORS:






User Tag List

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

    Verify() giving error \"List too large for results\"

    Hi all:
    I like to use the verify() function with huge chunks of text organized as a LIST OF STRING.
    My problem is that, if the list is over about 800 lines, a mismatch is not logged in the SilkTest results.
    Instead, I get an error "List too large for results".

    I have been thinking about creating a custom VerifyLargeList() function that would break up the expected and actual lists into managable chunks.

    But before I do all of this work, I thought I would ask if any of you have a more elegant solution to this problem ??
    Rob Kapteyn, CSTE
    RobKapteyn@gmail.com

  2. #2
    Senior Member
    Join Date
    Oct 1999
    Location
    Tyngsborough, MA
    Posts
    211
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Verify() giving error \"List too large for results\"

    Have you tried SYS_VerifyText() or SYS_CompareText? You'd need to dump your lists into files first.

    bCompare = SYS_CompareText(sFile1, sFile2)

  3. #3
    Senior Member
    Join Date
    Aug 1999
    Location
    MA
    Posts
    129
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Verify() giving error \"List too large for results\"

    I've got several methods to get around this error. I detect it happens by doing this pseudocode:

    What to I do for special logging code, I call various functions that I've written
    <UL TYPE=SQUARE>
    <LI> Write lists to CSV files with unique names, then zip them up to a predetermined save location on the system.

    <LI> if using SYS_VerifyText(actual, expected), you need to preserve the actual and expected files. The Silk results log does not preserve the compare info, it always points to the files you compared. The project I inherited never copied the files to a safe place, so throughout the results, the same DIFF of the last operation was always shown!

    I get around this by zipping the compare files to a zip with unique name, and putting in safe place. I always put the zip file name paths in my results files dynamically.[/list]


    [This message has been edited by styler (edited 12-17-2000).]
    Steven Tyler
    Manager - Performance Engineering

    Kronos Incorporated
    tel: +1 978 947 4219

  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: Verify() giving error \"List too large for results\"

    Thank you both very much !
    These are both great ideas !

    I think I will combine them...
    By capturing the "List to large" exception as "styler" suggests,
    and then in the exception handling code, I will write the data
    to files and use SYS_VerifyText() as BrianCarroll has suggested.

    This goes to show that it is always worthwhile to bounce your
    ideas around in the QAforum !

    -Rob
    Rob Kapteyn, CSTE
    RobKapteyn@gmail.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 12:35 AM.

Copyright BetaSoft Inc.