05-10-2010 06:03 AM
Hi,
I am generating a html report and I have a scenarios as follows:
I want to have a numeric limit test such a way that when the value is within the limits the status of the report should have a status with background color as "Green", if the value is at the limits the color should be "Yellow" and when it fails the test the color should be "Red".
By default TestStand provides me the colors for "Green", and "Red" for "Passed" & "Failed". How to get the color code of "Yellow" in my report for the values read which are at limits.
Pl help me.
05-11-2010 01:23 AM
Hi,
The TestStand Message Popup Step Type dialog is nothing more than a configurable CVI dll that generates a dialog window; therefore, it cannot be modified to use different colors or fonts. However, you can always make a custom step type that displays a dialog with the exact dialog style that you want by modifying the existing step type source or by making a new dialog from scratch.
You can refer http://digital.ni.com/public.nsf/allkb/3C52BF61E257D8FC86256D1D0070FFFD?OpenDocument for the same.
Regards,
Hardik Asawa
05-11-2010 01:35 AM
To get this you would have to modify the reportgen_html.seq and the step that puts the step status in the report.
regards
Ray Farmer
05-11-2010 01:39 AM
Hi,
Can you point me where exactly i need to change this?
Regards,
Ramjee V
05-11-2010 01:49 AM
Unfortunately I dont have access TestStand at this moment but
the sequence you need to look in is 'PutOneResultInReport'. You should beable to see the step in the sequence which does the status.
Dont modify the seq file in the NI folder (<TestStand>\Components\NI\Models\TestStandModels\) but copy this to the User folder area.
Hope this helps
Regards
Ray Farmer