The Description
object is one of UFT's reserved objects, like the Environment
and Reporter
object. Basically, the Description
object resembles a dictionary object with key-value pairs, which defines the properties and values by which the target TO or objects (see the Using child objects recipe), should be identified. Similar to the OR feature, the Description
object also allows for regular expressions as property values. The following table shows regular expression samples of character property values:
User |
To match character |
---|---|
| |
| |
| |
| |
| |
|
The Description
object comes in handy in situations where the runtime object is dynamically built by the application, or when more complex criteria need to be applied to ascertain the...