Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

printing in COLOR using TCL

Status
Not open for further replies.

sbts1

Programmer
May 31, 2005
3
US
HI All,

I am using Expect and TCL to make some automation scripts.
I wanted to print some text in color to my output log file.

For example I have PASS or FAIL for each test case and wanted to show this in Green and Red colors to my output log file. Can this be done ?, Currently I have output log file in testresult.txt or testresult.log file., but I can change it to testresult.html or any other format.

Please help.,
Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top