WatiN Mouse right button in WatiN
Posted
by Uma
on Stack Overflow
See other posts from Stack Overflow
or by Uma
Published on 2010-02-19T07:53:26Z
Indexed on
2010/03/29
8:03 UTC
Read the original article
Hit count: 908
watin
How to use Right Mouse button in WatiN i tried the follwong code but didn't work..
Div div1 = pzDev.Div("AppExplorer"); Span sp1 = div1.Span(Find.ById(new Regex("cl_"))); NameValueCollection eventProperties = new NameValueCollection(); eventProperties.Add("button", "2"); sp1.FireEvent("onmouseover",eventProperties); Thread.Sleep(1000); sp1.FireEvent("onmousedown",eventProperties); sp1.FireEvent("onmouseup",eventProperties);
can any one plz suggest the right approach
© Stack Overflow or respective owner