I m using the QTP tool to perform automation on wordaddin. I want to know how to identify the object by its properties and not by its coordinates. I m pasting the code here to describe my requirement Window("Microsoft Word (Product").WinObject("ATL:0C2817D0").Click 346,250.
this is the code that is generated when we click on the record button. I want to identify the object by its properties and not by the coordinates. It should not use the static coordinate, since the object may be resized or maximised or minimised. It should be independent of the coordinates.
Thank you