2

I have to find a solution for test automation for webbased GIS/mapping application that is using OpenLayers 2.x or Leaflet as JavaScript libraries.

I'm oriented on evaluate Selenium WebDriver (or other similar tools, suggestion? ...): are there somewhere examples / tutorials / experiences or similar?

3

Looking at the examples at their sites, I think using Selenium might be hard since the maps are rendered in images. Maybe a image based testing tool like Sikuli is worth trying.

We have build a GIS system based on the Google Maps API in the past and we did successful test this with Selenium, but as Google uses canvas this was also not easy and straight forward and often resulted in brittle tests.

Try to get in contact with the developers (on GitHub) of these libraries and post some questions there how they would do end-2-end testing of their implemented framework for a client.

I would also have a look how these libraries are testing them selves

  • Sikuli looks interesting - and as bonus, it uses Python (Jython) as scripting language. – Peter M. Jun 18 '15 at 19:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.