This functionality is supported only if you are using the Classic Agent.
You must enable attribute recording to allow Silk Test Classic to capture Html class attribute information while recording.
You can record custom class attributes in a test that uses hierarchical object recognition and Silk Test Classic will record the attribute tags in the order you have specified.
For example, record four attributes for the HtmlImage class. First you select id from the Defined Attributes list box, then you click >> to move it to the Class Attributes list box. You repeat that process for the name, rel, and src attributes. Once the four attributes are listed in the Class Attributes list box, you use Move Up and Move Down so that the attributes display in the order you want them to display.
After you click OK, Silk Test Classic displays the Record Window Declarations dialog box. Whenever Silk Test Classic recognizes an HtmlImage object, Silk Test Classic records the attributes you specified on the Edit Class Attributes dialog box. The full string for the attributes tag information that Silk Test Classic records is:
&id='myButton';name='button';src='file:???D:?buttonnext.gif';rel='start'