11-27-2012 06:33 PM
How can I customize my report by Teststand
11-27-2012 06:52 PM
I have a trouble about how to customize my report like i want to make a report format of .doc or excel and only display something i want. like
Who will be happy to help me ? Thank you!
11-28-2012 03:45 AM
TestStand by itself does not provide a reporting mechanism which can deliver a report as shown in your screenshot.
I see three options for you to proceed:
1.) Analyze the options you have with the default TestStand reporting (e.g. XML with style sheet). Consider if you really require the report layout and file format (docx) shown in your screenshot or if XML/HTML or ASCII text will also work. Play around with the report options until it works for you. This would be the simplest solution.
2.) Log report data into a database and create an additional software package to retrieve data from there and display it as the required report.
3.) Exchange the TestStand reporting mechanism with a complete self written version to create docx-files with the required layout. This will be the most complex approach except you are familiar with the TS API, but don't know anything about databases....
When following either option 2 or 3, you can
a) try yourself as developer
b) search for an integration partner implementing that stuff for you. When following option 3), i recommend you to search for an NI Alliance Member with TestStand knowledge.
hope this helps,
Norbert
11-29-2012 10:57 PM
Hi,
I can't believe I'm saying this, but you could store all the data you want for your report in a Local container variable in your TestStand seqeunce, and then write a code module that reads the local at the end of your test, and formats all the data into a text file, or even use activeX to put it in an Excel Word doc. You would put the code module in your sequence Cleanup Group.
This is not a long term solution. It defeats the built-in Report Generator in TestStand. In general, re-creating features in TestStand is not scalable and can create a big mess. The proper thing to do is customize the TestStand report callback. But your report is very nearly the same, it seems like a lot of work to just change it a little bit. If I were you I'd just get used to the built in TestStand reports.
cc