scsvel
14 years agoFrequent Contributor
RGB method error
Hi all,
I am using TC version - 7.50.653.3 and executing simple script mentioned below.. I got 'Object expected' error in line 4,5.
1. function Test(){
2. var Attr;
3. Attr = Log.CreateNewAttributes();
4. Attr.FontColor = RGB(192, 0, 0);
5. Attr.BackColor = RGB(255, 255, 0);
6. Log.Message("My message", "", pmNormal, Attr);
7. }
Anything here wrong and I am using Javascript.
Anybody help me on this?
Thanks...