How to highlight and click in QTP?
To highlight the object and click use the following code.
E.g.,
Dialog("regexpwndtitle:=webpage").WinButton("text:=OK").Highlight
Dialog("regexpwndtitle:=webpage").WinButton("text:=OK")Fireevent "ondblclick
E.g.,
Dialog("regexpwndtitle:=webpage").WinButton("text:=OK").Highlight
Dialog("regexpwndtitle:=webpage").WinButton("text:=OK")Fireevent "ondblclick
Comments
Post a Comment