How to click by FireEvent?

When normal click is failing, use ‘FireEvent’ method to click,

E.g.,

            1) Dialog("regexpwndtitle:=Message from webpage").WinButton("text:=OK”).FireEvent “onclick”.

            2) SWFwindow(“….”).SwFObject(“….”).Firevent “click”

            3) Browser(“Browsername”).Page(“Title”).Webedit(“Search”).FirEvent “onmouseover”

Some of the methods available in FireEvent are,

•onchange

•onclick

•ondblclick

•onblur

•onfocus

•onmousedown

•onmouseup

•onmouseover

•onmouseout

•onsubmit

•onreset

•onpropertychange

Comments

Popular posts from this blog

Is QA a easy job?

Latest Version of TestComplete

Successful tester