08-08-2023 06:14 AM
Hi
I have a Python Script for Generating the Excel report from the XML(ATML) Report generated by TestStand.
My Query is, where can I add this action step in the Sequential model so that every time, I run the test it should call the Python script and generate the Excel report also with the standard ATML report.
I tried adding this Python script (code module) inside the Post UUT Callback step, But I'm not getting the Generated xml report path inside this Step.
Kindly help me to solve this problem.
Thanks in Advance
- Vipin
Solved! Go to Solution.
08-10-2023 04:59 AM - edited 08-10-2023 04:59 AM
Hi Vipin,
the standard XML report is generated by the appropriate ModelPlugin.
The PostUUT callback is executed after the Report has been created so it should be the right time during sequence execution.
In the Callback Parameter set, you have all the PlugIn Config Data available
As far as I can see, the path values are not available in a evaluated manner but instead as this macro string which probably is a problem.
You could analyze the report generation code in order to find out, how should be evaluated.
08-10-2023 08:02 AM
Hi
thanks for the reply.
I will check and update here.
08-28-2023 03:14 AM
Hi,
Thanks for the hint!
I have implemented this inside model Plugin NI_ReportGenerator.seq >> ModelPlugin - UUT Done
>> Cleanup Stage. Here I'm getting the report Generation Path also.
Now I need to check how to duplicate this Model plugin and use it as a different report type under the Result Processing Menu.
08-28-2023
06:18 AM
- last edited on
11-04-2024
11:57 AM
by
Content Cleaner
https://www.ni.com/docs/de-DE/bundle/teststand/page/process-model-plug-in-architecture.html
is a pretty goog start for working with ProcessModel Plugin.
Just copying over the NI code to %TestStandPublic%\ Components\Models\ModelPlugins might create issues due to duplicate code. Yet probably no issues, which can't be solved.
08-28-2023 09:10 AM