03-03-2023 09:22 AM
Hello
I would like to use my sequence to send the testreport generated from TestStand. Let's say we use any example like the "Computer Motherboard Test Sequence". At the end of the MainSequence I would like to get the path to the generated reports to send it afterwards to my mailbox via a pythonscript for example.
At this point it is not the question how to send the files but rather how I get the generated reports because the report is generated at the end of the Mainsequence. Is it possible to use some callback functions therefore?
It would be great if someone can give me an example sequence how to do this.
Thanks
Solved! Go to Solution.
03-03-2023 10:03 AM
Ideally, you implement as part of your report plugin and not your test sequence. What if you didn't configure any reports? how would your main sequence know of those? what if you have more than one report?
03-06-2023 12:22 AM
so the conclusion of your response is, there is no solution.
03-06-2023 09:16 AM
Like the other poster, the ultimate way is to put that in the report plugin itself. We don't know if you are using a custom one.
But an option you have, and I know this works with the out of the box ones, is use the "GetReportFilePath" callback in your sequence file. This runs after the reports are generated, and passes the Parameter.ReportFilePath for where the report is. This will be called multiple times for each report plugin you have enabled.