SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    JCC
    JCC is offline
    Senior Member
    Join Date
    May 2002
    Location
    Copenhagen, Denmark
    Posts
    116
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Customizing colours for a single line in the result file

    Hi

    I often add a lot of result information during a testrun.
    Is there some way that I can customize the colour of a single line. E.g. print ("some text", Blue). I know this not possible using the print function, but is there some other way of doing this?
    I am using ST 6.01

    Thanks
    JCC


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


    [This message has been edited by JCC (edited 05-21-2003).]

    [This message has been edited by JCC (edited 05-21-2003).]

  2. #2
    Member
    Join Date
    Nov 2001
    Location
    Mainz - Germany
    Posts
    92
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Customizing colours for a single line in the result file

    I think there are only two alternatives
    to use:
    LogWarning(string) (=violet)
    and LogError(string) (=red)

    I often use ResOpenList() and ResCloseList()
    for building hierarchical levels in result files.

    regards,

    Martin.


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

  3. #3
    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: Customizing colours for a single line in the result file

    Another option is to write yourself a method to spit your results to HTML. You can make your colors whatever you want then.

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

  4. #4
    JCC
    JCC is offline
    Senior Member
    Join Date
    May 2002
    Location
    Copenhagen, Denmark
    Posts
    116
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Customizing colours for a single line in the result file

    Thanks for the replies.

    The resOpenList and rescloselist are quite handy to make the result file more readable. Just what I need

    Cheers

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


    [This message has been edited by JCC (edited 05-22-2003).]

 

 

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

Copyright BetaSoft Inc.