Recognition properties

You can set the recognition property for screens, fields and characters to increase the flexibility of your script when defining a screen. Each object has a set of recognition properties, which are typically established during recording. To find an object in the application-under-test during playback, HCL OneTest™ UI compares the object in the application with recognition properties in the test object map. Each property of a test object has an associated recognition weight value, which is a number from 0 to 100. HCL OneTest UI uses the weight value for each recognition property to determine the importance of the property.
Table 1 describes the default recognition properties and weights for windows.
Table 1. Default recognition properties for screens
Property Weight
Field Count 40
Non-static Field Count 40
First Field Starting Location 20
First Field Length 20
First Field Text 20
Last Field Starting Location 20
Last Field Length 20
Last Field Text 20
Text 0
Table 2 describes recognition properties and weights for fields.
Table 2. Default recognition properties for fields
Property Weight
Starting Column 30
Starting Row 40
Length 30
Text 30
Table 3 describes recognition properties and weights for characters.
Table 3. Default recognition properties for characters
Property Weight
Starting column 40
Starting Row 60
Position 60
Character 60
Feedback