02-26-2016 02:31 PM
Hi I have this issue with showing timestamp on the test report, some of the steps show it, some do not, with all steps show timestamp, in the setp properties, they all have TimeStamp in Result container( Step.Result.TimeStamp), does anyone have any idea how to solve the issue? thank you
02-29-2016 08:46 AM
Hello wwang332,
If you right-click on the property in the Sequence Editor, select Advanced>>Edit Flags, you should be able to manually check the box that says "Include in Report" for all your timestamps. I think that for certain step types the timestamp is being collected, but not necessarily included in report by default. I would check this first.
For reference, this information can be found as the first step in Section 3 of our Best Practices for TestStand document, linked here: http://www.ni.com/white-paper/8289/en/#toc3
Best,
Daniel
02-29-2016 03:08 PM
thank you! will try!
04-12-2016 01:07 PM
Hi Daniel,
I found out that for some certain test type (like: Multiple Numeric Limit Test), in the property tab, result drop down does not have timestamp, in this case, how could add timestamp into final report?
thank you!
04-13-2016 05:20 PM
Hello wwang322,
Things like time stamps or execution times are only defined at run time, so the appropriate container will not usually be there. If you use a break point during execution, you can find the TS container in the ResultList for the step, as shown here.
How Can I Find the Execution Time of a Step or a Group of Steps in TestStand?
http://digital.ni.com/public.nsf/allkb/52933BCB633C8F28862576F0006BB959?OpenDocument
As shown in the article, a brute workaround such as adding a pre-expression to find date and time and then include them in the report might be cleaner. I found this other discussion forum post where users had a similar conversation:
Forum: Log the start time of each step to database
http://forums.ni.com/t5/NI-TestStand/Log-the-start-time-of-each-step-to-database/td-p/806154
Instead of using Seconds(), you could even use Date() or Time() as Pre-expressions, log them to a variable, and include that in the report.
Best,
Daniel
07-27-2017 04:51 AM
You can also override the Report Generation sequence files such as (reportgen_xml, reportgen_html) and add a custom subsequence to log the timestamp for each step. This is cleaner and simpler and can be customized to any extent.
12-07-2017 01:50 AM
Hi, Di you solve the problem? Can you share the solution with me?