| || |
Is there any method to create a log report?
In Automated testing using rational robot, after completing a script run, we will get a log result in Test manager.
But in our concern, they asked me to give a detailed report about the final result after every script run. They expect like a Word document. Is there any possible way to create report?
Re: Is there any method to create a log report?
In addition to the existing logging you can write to a text file during the run with regular VB. A basic calls are:
Dim fileHandle As Integer
fileHandle = FreeFile ' get the first available file handle
Open <your filename> for Append As #fileHandle
Write #fileHandle, "Your log message here"
By default the files are written in the TMS_Scripts directory of your current project, so you'll probably want to put them someplace else to keep them separate from your script files.
It also means that you've got to determine the test results then construct the log message, thus doing some of the work twice.