开发者

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

开发者 https://www.devze.com 2023-04-03 07:50 出处:网络
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\"

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

精彩评论

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