I was able to customize the results text font color,style and size in the past but I forgot how I did it
it should be something similar to the below
reporter.ReportEvent micPass,"<font color=""#ff0000""> HI </font>","results"
it's not working though , any help?
also I think the forum has a bad search mechanism , most of the time it's returning unrelated results!
"I realize it's an error, but no one is going to try to do that!"
From "Top 10 Stupid Comments from Developers".
reporter.ReportEvent micPass,"&lt;<font color=""#ff0000""> HI </font>&gt;","results"
Buy the NEW QTP Descriptive Programming Unplugged Book
** Download QTP Unplugged 2nd Edition eBook for FREE **
Don't mean to hijack this thread, but Tarun do you know how to color the "PASSED" "FAILED" "WARNING" that QTP outputs with results
"God doesn't play dice" - Einstein
I don't think there is anything that you can do here. You will have to do it the way its been told in the post.
to change the "PASSED","FAILED",and "WARNING" style , i.e. color,font,and size please see KB# 28579 in HP support site.
However the default colors of Green,Red and orange are the best match for the status. it's just a matter of preferences.