Modify Testlog

Oliver W.
Soest,

Aug 13, 2014
4 Posts

0  |  0  

Re: Modify Testlog

Hi,

does anyone know how to replace the "ATEasy Test Log" string in the upper left of the log window?
I tried:

s = GetLogString()
i = Pos("ATEasy Test Log", s)
if (i > 0)
    s = Mid(s, 0, i) + "Productname Test Log" + Mid(s, i+19)
endif
SetLogString(s)

String is found and replaced, but not set in Log window. Tried all System events from OnInit() downto OnInitProgram().

Solution Available
DrATEasy (Ron Y.)
Mission Viejo, CA

Aug 13, 2014
358 Posts

1  |  0  

Re: Modify Testlog

Move your code to System.OnInitSystem() event. If you are using the test Executive call the

TestExec Log Set InitialString(s)

Oliver W.
Soest,

Aug 15, 2014
4 Posts

0  |  0  

Re: Modify Testlog

Thank you, TestExec Log Set InitialString(s) did it.



Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]