Selenium Web Driver and OpenLayers 2.x: how to do a identify on a map?

المشرف العام

Administrator
طاقم الإدارة
I've to test a web mapping application that use OpenLayers 2.x, using Selenium Web Driver in Java and using Firefox (I'm on Windows 7). I've found only this issue http://stackoverflow.com/questions/...-with-selenium-webdriver-in-java-double-click that doesn't solve my problem.

I've have to test the identify function on features on the map, so:

1) select the identify button on my toolbar (I'm able to do this ... so no problem ...)

2) click on a point feature on the map (I'm not able to do this ....)

3) close the dialog that shows the felatire descriptive data (I'm not able to do this ....)

I can't give the url of my application that it's not public but I can use this simple test case

http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/getfeatureinfo-popup.html

that shows my use case.

Clicking on the map, you'll see the feature details and then close the dialog.

Suggestions? Samples?

Thank you very much in advance!

Cesare



أكثر...
 
أعلى