03-11-2024 05:12 AM
Hello!
I want to make a condition in my testand sequence for the report generation :
If the operator type "GOLD" in serial number i dont want to log a report.
in holder version of teststand i saw (in this forum) Parameters.ReportOptions.DisableReportGeneration = True
But in my version of TS (2022 Q4) this variable is unknow !!
Thank you !
03-11-2024 09:15 AM - edited 03-11-2024 09:16 AM
Reports are plugins, so you may potentially have multiple plugins/reports now. You are probably looking for this, inside the PreUUT Callback:
Parameters.ModelPluginConfiguration.Plugins[ReportIndex].PluginSpecific.Options.DisableReportGeneration.
ReportIndex depending on how many reports you have enabled or step up in the Result Processing configuration.
I'm not 100% sure if it's too late to disable it in the PreUUT Callback so you will have to look and see. You may have to use the ReportOptions callback or something else if PreUUT is too late.
03-12-2024 01:28 AM
tank you,
how can i find this type of var by myself ? i have a warning using it and it si not proposed in the "dynamic" list of variable by teststand..??
i 'll try it as soon as possible !