05-17-2010 04:42 PM
Hi,
I'd like to define the path to folder for ordinary TS reports (xml) outside the sequence editor i.e. in txt file. I'd like to load this value during sequence or sequential model execution (to be read from this file). Playing with this I acheived only copying reports to different my outside definied folder. Does anyone know how to successfully do this operation?
Cheers,
K
Solved! Go to Solution.
05-18-2010 09:16 AM
I have accomplished this, setting the report path dynamically, by using the ReportOptions callback in my process model.
I had to set the following report options:
Parameters.ReportOptions.DirectoryType = "SpecificDirectory"
Parameters.ReportOptions.Directory = "C:\\Program Files\\Functional Test\\Reports\\" + Parameters.UUT_PN
Parameters.ReportOptions.BaseName = "Report"
Parameters.ReportOptions.UseFormatForExtension = TRUE
Parameters.ReportOptions.Extension = ""
Parameters.ReportOptions.ReportFilePath = ""
Parameters.ReportOptions.NewFileNameForEachUUT = TRUE
Parameters.ReportOptions.AddTimeAndDateToFileName = TRUE
Parameters.ReportOptions.GeneratePath = TRUEarameters.ReportOptions.Format = "html"
The second entry above, I set the directory based on the UUT part number that is scanned by the operator. So in your case you would need to set the 'Parameters.ReportOptions.Directory' item based on a path you read from a text file. Depending on the structure of your text file obtaining the report path ( from the file ) could be done in a couple of differnet ways....
Thanks,
Paul Holzrichter