This functionality is available only for projects or scripts that use the Classic Agent.
Click
Options > Recorder. Uncheck the
Verify Using Properties check box if necessary.
You will not be able to uncheck this check box if you have enabled enhanced support for Visual Basic; it requires properties for verification.
Drive your application to the test state and press
Ctrl+Alt.
Silk Test Classic displays the
Attribute tab of the
Verify Window dialog box. The list box on the left shows the attributes for the current object.
Select an attribute from the list box or check the
Verify All Attributes check box. In the
Attribute value field
Silk Test Classic displays the current value of the attribute (that is, the value that exists when you are recording).
When verifying attributes during recording, the value size limit of the attribute is 256 characters. The name size limit is 32 characters. The total attribute value/name pair limit size is 4K. If the length exceeds 4K, the message
Unable to Get Windows Properties is displayed.
If the current value of the attribute is not the value you want to test for at runtime, edit the
Attribute value field.
The value specified in this field is the value you expect at runtime, that is, the baseline value.
Click
OK to accept the attribute and its value.
Silk Test Classic closes the
Verify Window dialog box and displays the
Record Status window. The test case will verify that the object has the attribute value selected. If not,
Silk Test Classic writes an error to the results file. With the
Verify Using Properties check box unchecked, the next time you go to verify an object, the
Verify Window dialog box will have an
Attribute tab, instead of a
Property tab.