skip to main |
skip to sidebar
There are different properties to identify objects. All the properties available for an object can be obtained using Object Spy or Object Repository. Using object spy,select the hand icon on object spy and move the mouse over or click the object whose properties are needed. Using the object repository, add the objects into the repository to view the properties. The properties that are normally used to identify objects are:
- abs_x
- abs_y
- class
- name
- html tag
- html id
- index
- innertext
- outertext
- outerhtml
- value
- visible
Apart from the above, each of the Web Elements might have some additional properties. For example, WebList have a property 'select type'. It has values Single Selection, Combobox Select, Extended Selection depending on the type of ListBox. Similarly, WebEdit has the property 'max length' and WebButton has 'disabled' property.
These Object can be used in the object repository description, in programmatic descriptions, in checkpoint and output value steps, and as argument values for the GetTOProperty and GetROProperty methods.
No comments:
Post a Comment