SPONSORS:






User Tag List

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Member
    Join Date
    May 2001
    Location
    Houston, TX USA
    Posts
    40
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Extracting the information from Results files ...

    Is there a programmitical way to extract the information from results file i.e opening the .res file and readline by line and write to another file. I know you can do using Silk Results/Extract. Is there a routine that takes a results file and convert it into a text file?

    ------------------
    SG
    SG

  2. #2
    Senior Member
    Join Date
    Nov 1999
    Location
    Eagle, ID,USA
    Posts
    1,035
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extracting the information from Results files ...

    Try ResExport() and ResExportOnClose()

    ------------------
    Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.

  3. #3
    Member
    Join Date
    May 2001
    Location
    Houston, TX USA
    Posts
    40
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extracting the information from Results files ...

    ResExport() only gives the high level details, it will not export the print statements, I am looking for all the contents of the results file.

    ------------------
    SG
    SG

  4. #4
    Senior Member
    Join Date
    Nov 1999
    Location
    Eagle, ID,USA
    Posts
    1,035
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extracting the information from Results files ...

    Segue doesn't supply such a routine. Unless someone else has come up with a way, then the answer is no.

    ------------------
    Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.

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

    Re: Extracting the information from Results files ...

    To have everything you will need to modify the recovery system to log things to a file directly and use user-defined functions in place of things like Print () so that all output will get written to the same file.

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

  6. #6
    Senior Member
    Join Date
    Jun 1999
    Location
    Fremont, CA, USA
    Posts
    355
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extracting the information from Results files ...

    Somewhere in the forum I have posted a logClass that logs everything to the result file and to a ascii file.



    ------------------
    David Genrich
    david.genrich@e2open.com
    david@linuxpuppy.net

  7. #7
    Junior Member
    Join Date
    Nov 1999
    Location
    VIENNA, AUSTRIA, EUROPE
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extracting the information from Results files ...

    Overriding the default recovery system

    Andall

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

  8. #8
    Senior Member
    Join Date
    Nov 1999
    Location
    Eagle, ID,USA
    Posts
    1,035
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extracting the information from Results files ...

    Oh yeah, that's right. It's on the downloads tab.

    ------------------
    Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.

  9. #9
    Member
    Join Date
    Jan 2001
    Posts
    33
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extracting the information from Results files ...

    Like others have said, I just wrote a function named Stamp that can be called with a STRING as an argument. The function takes the string and appends a time/date stamp to the front of it, then writes it out to the log file in addition to printing it to the .RES output. I pretty much use Stamp in place of every print statement in our scripts.

    Another nifty reason to employ writing all print statements out to a log file is that you can tail the log file to see how your scripts are doing. Our automation suite took about 30 minutes to run, and by just firing it off, I wouldn't know if basic functioanlity was broken (thus to reject the build) for 30 minutes. Sometimes that's too long. So I can tail the file, see right away whether things are "on the right track" and let the script finish.

    Andrew

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

  10. #10
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extracting the information from Results files ...

    Same as above, except I just use _Print to do both the res and txt file in addition to formatting HTML output.

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

 

 
Page 1 of 2 12 LastLast

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:21 PM.

Copyright BetaSoft Inc.