[Dojo-interest] right-click (and selenium) tests?

Rob Kinyon rob.kinyon at gmail.com
Fri Feb 16 08:10:45 MST 2007

Selenium provides the mechanism to trigger a mouse onclick event. The
"right button" aspect of the event is in one parameter in event. If
you sourcedive the selenium JS code, you'll see how to assign to that.
We don't use rightclick in our app, so i never cared to learn how to
do it in selenium.

This would be a much better question on the selenium mailing lists as
it's not a dojo problem, but a selenium problem.


On 2/15/07, Christofer Jennings <bozmoz at gmail.com> wrote:
> Hi All,
> Has anyone been able to test right-click actions with selenium? Or are
> there other options?
> I have Menu2 widgets that pop up on right-click. Pretty much my whole
> app relies on this feature. I've tried a few times to make selenium
> tests for my app, but the (apparent) lack of right-click capture
> blocks me.
> ???
> ,chris
> _______________________________________________
> Dojo FAQ: http://dojo.jot.com/FAQ
> Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> Dojo-interest at dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-interest

More information about the Dojo-interest mailing list