10-26-2016 09:37 PM
I want change my report path to "D:\\" by sequence or by TS API, report name should be keep "$(ClientFileDir)\\$(ClientFileName)_Report-$(FileDate)-$(FileTime)-$(Unique).$(FileExtension)", only the path need change to "D:\\", I don't want using "Result Processing" dialog,I have read a lot of related posts,find the best way is overwrite GetReportFilePath callback.
I don't know why the GetReportFilePath Callback don't work, thanks!
Solved! Go to Solution.
10-27-2016 04:13 AM
10-27-2016 05:01 AM
I put it in client sequence "ReportOptions" like below, it work now.
Parameters.ReportOptions.Directory = "D:\abc",
Parameters.ReportOptions.DirectoryType= "SpecificDirectory"
but I don't know why it don't work it i put it in model sequence.
11-02-2016 01:11 PM
Hi TabZhang,
Using the ReportOptions callback is the appropriate location to set the report path programmatically, so your current solution is correct.
The GetReportFilePath callback exists so the client sequence file can inspect the report file path if needed, and is executed during the Model Plugin - UUT Done and Model Plugin - Batch Done sequences of the process model. ReportOptions is called at Model Plugin - Begin. This is important because the actual file that contains the report is being created during the Model Plugin - UUT Start and/or Model Plugin - Batch Start sequences which execute after Model Plugin - Begin, but before Model Plugin - UUT Done.
11-02-2016 08:37 PM
Hi Steven,
OK, Thanks for your clarification!
06-01-2025 05:56 PM
Hi Steven,
If I want to change the report path after uut done How should I do? and i observed the report file generated after UUT Done executed
06-03-2025 04:14 AM
You should be able to achieve this using the ReportOptions DIalog Box.
Are you actually refereing to the path ("folder") where the file should be stored or the file name?