How Can I Programmatically Determine the Version of my Sequence File? Primary Software: TestStandPrimary Software Version: 3.1 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I would like to be able to programmatically determine the version of my currently executing sequence file. How can I do so? Solution: First, obtain a reference to the currently executing sequence file from the TestStand engine. Change this reference to a PropertyObjectFile reference by calling the method AsPropertyObjectFile on the reference to the currently executing sequence file. After you have the reference to a PropertyObjectFile, Version is one of its properties. The attached sequence file demonstrates this process via the use of ActiveX steps. The version is displayed to the operator in the form a Message Popup step, and is also written to the report. Related Links: Attachments:
Report Date: 03/27/2008 Last Updated: 03/31/2008 Document ID: 4JQH4B6X |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
