开发者

FireEvent("ondblclick") doesn't work in Firefox 3.6 and QTP11

I'm trying to perform double click in Firefox on existing object using QTP 11 and nothing happens. I turned on even logging in firebug and see, that BlotterObj.FireEvent "onclick" "onclick" even produce "onmousedown", "onmouseup" and "onclick" events, but BlotterObj.FireEvent "ondblclick" do nothing.

h开发者_运维知识库ow I could perform double click in this situaton? Thank you!


I wrote function for this:

Public Function FireDblClick(orObject)
    Setting.WebPackage("ReplayType") = 2 'For Firefox
    orObject.FireEvent "ondblclick"
    Setting.WebPackage("ReplayType") = 1
End Function
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜