Hi,
I Want to log the Master Script results into CSV instead of .txt.
Please guide me.
Thanks
Vijay
Hi,
I Want to log the Master Script results into CSV instead of .txt.
Please guide me.
Thanks
Vijay
Sagar,
The TXT results file is actually formatted as a tab delimited file which can be read in by excel without any issues. It formats the file in the following way:
Date and Time, Command, Image,message,script line,handler,script filename
Message could be the location where we find images, the typetext command, Log statements etc
I hope this helps
Hi Voeten,
Thanks for information, Could you please provide the some sample code to convert the LogFile.txt to CSV.
Regards
Sagar
Try this:
runWithNewResults nameOfScriptToRun
put the result into outcome
get file outcome.logFile
replace every tab in it with comma
put it into file "/tmp/convertedLogFile.csv"