How to Add a Company Logo at the Top of an HTML Report Primary Software: TestStandPrimary Software Version: 3.1 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: How can I add my company logo to the top of a TestStand HTML Report? Solution: The best way to do this is to override the ModifyReportHeader callback by adding it to your sequence file. See the KnowledgeBase titled What is a Callback in Teststand for information about overriding callbacks. Once you have overridden the callback, you will add one statement step to this ModifyReportHeader callback. This statement will use the string function SearchAndReplace to search for the first instance of the <BODY> tag, and add an <img> tag directly following it. This effectively places a picture at the beginning of the report, as seen below: ![]() Attached is an example sequence demonstrating this method. In order for it to work, simply copy the JPEG to the C:\ drive. Related Links:
Attachments:
Report Date: 05/13/2008 Last Updated: 05/13/2008 Document ID: 4LCDRCXU |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

