SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    May 2002
    Location
    Copenhagen, Denmark
    Posts
    116
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    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)
    Total Downloaded
    0

    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)
    Total Downloaded
    0

    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
    Senior Member
    Join Date
    May 2002
    Location
    Copenhagen, Denmark
    Posts
    116
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    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
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 09:58 AM.

Copyright BetaSoft Inc.