[OpenLayers-Users] selenium and openlayers

Eric Lemoine eric.lemoine at camptocamp.com
Fri Apr 8 15:01:30 EDT 2011


On Friday, April 8, 2011, gmh04 <gmh04 at netscape.net> wrote:
> Hi
>
> I'm trying to write selenium tests with openlayers.
>
> If add a click handler using map.events.register('click', this, myhandler),
> selenium.clickAt("map", "100,100") works
>
> However if I add a handler using OpenLayers.Control.Click (as in
> http://trac.osgeo.org/openlayers/browser/trunk/openlayers/examples/click.html)
> selenium.clickAt("map", "100,100") does not work.
>
> Any ideas?

Does selenium.clickAt lead to mousedow and mouseup being fired?

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com


More information about the Users mailing list