Hi Aleksi,
The ReportOptions.ReportFilePath is not the same as the Locals.ReportFilePath found in the process model Test UUT's or Single Pass.
The ReportOptions.ReportFilePath is used if ReportOptions.GeneratePath = False. This is equivilent to setting Configure | Report Options and selecting the Specify Fixed Report Path under the Report File Pathname Tab.
If ReportOptions.GeneratePath = True then the report file path will be generated from the ReportOptions.Directory, ReportOptions.Basename and also the DirectoryType.
In the process model locals.ReportFilePath is set in the step "Determe Report Path" and this is done by determining what's been set in ReportOptions.
The easies way to solve your problem is to setup your conditions v
ia the Configure | Report Options dialog.
In the Override ReportOptions Callback comment out all your code and put a breakpoint in the ReportOptions callback. Then inspect the contains of the ReportOptions container on entry to the callback.
If you have ReportOptions.ForceFileNameToBeUnique = True then a new report file will be generated for each run. Likewise if ReportOptions.NewFileNameForEachUUT = True will also generate a new report file of each UUT.
Regards
Ray Farmer
Regards
Ray Farmer
