SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Senior Member
    Join Date
    May 2001
    Location
    Lahore, Punjab, Pakistan
    Posts
    101
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Customizing (.res) Files?

    Is there a way to customize the results file displayed after testcase execution?
    Though it is possible to Print on this file by Print() but i want to replace the contents that already exists.

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

  2. #2
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Customizing (.res) Files?

    What are you trying to accomplish here?

    You don't even need the .res to act like a report file if your are planning to rewrite it. You can write your own, depending what you want. The most obvious choice of output is html format(very user friendly).

    Res file only outputs errors, warnings, and print() statements(I believe), hence you can output all these by yourself.



    [This message has been edited by GodKnows (edited 06-07-2001).]

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

    Re: Customizing (.res) Files?

    Hi,

    You can define TestCaseExit (BOOLEAN bExcept) in your test frame, which will overwrite DefaultTestCaseExit (). In this function, you can determine exactly what gets written to the results file.

    By default the function calls ExceptLog (), which produces the output you normally see. See the Library Browser Functions Exception Functions section for all of your options.

    Hope this helps.


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

  4. #4
    Senior Member
    Join Date
    May 2001
    Location
    Lahore, Punjab, Pakistan
    Posts
    101
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Customizing (.res) Files?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by GodKnows:
    What are you trying to accomplish here?

    You don't even need the .res to act like a report file if your are planning to rewrite it. You can write your own, depending what you want. The most obvious choice of output is html format(very user friendly).

    Res file only outputs errors, warnings, and print() statements(I believe), hence you can output all these by yourself.

    [This message has been edited by GodKnows (edited 06-07-2001).]
    <HR></BLOCKQUOTE>

    thaks GodKnows and John Green!

    I want to disable this file and diplay my own.



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

  5. #5
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Customizing (.res) Files?

    In help look for 'results files'

    ex.: PrintList(list of string): print one element per line in the res file.

    ResOpenList()
    ResCloseList()

    Good Luck

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

 

 

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 10:57 AM.

Copyright BetaSoft Inc.