05-20-2016 07:02 PM
Hi,all:
I am a new learner of teststand, and i have some questions confused! There are two ones:
1: the property attributes
The help file of TS tells we can creat a attribute of property,such as step or sequence; and i don't know in which condition we can use it ,
show me the examples may be better; i was confused about it for long time.
2: the attribute named "TestStand Hyperlink"
I find one sample for TDMS, and the attribute named " TestStand Hyperlink", and i don't know where it define?
Solved! Go to Solution.
05-23-2016 06:18 AM
I am not sure if you are mixing up termini...
Regarding the second point:
I am not aware of that example. But i assume that it uses a custom attribute of a specific PropertyObject subclass (e.g. step). It requires specific code to access that attribute so you should take a close look in the code to see how this can be done....
Norbert
05-23-2016 07:15 AM
05-23-2016 08:02 AM - edited 05-23-2016 08:03 AM
Which version of TS are you using?
It seems to me that you are not aware of how to review attributes of propertyobjects.
Looking into the example you refer to, the Locals.WebAddress, Locals.ImagePath and Locals.HTMLFilePath do have an attribute of type container named "TestStand". You can review this on your own by right-click on the variable (PropertyObject!) and select Advanced>>Edit Attributes...
For the implementation stuff, i haven't found too much things. It seems to me that it is part of the modelsupport2.dll which browses the TS data and then creates the hyper link string for the HTML page. Please note that for this, the PropertyObject with the attributes must be "AdditionalResults" of the step. I fear that only the "Hyperlink" attribute is implemented in the modelsupport2.dll.
Norbert
05-23-2016 08:55 AM
05-23-2016 08:59 AM
I recommend you to read the "PropertyObject Attributes" fundamentals help in the TestStand Help. It should answer your questions.
Norbert