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?

Niels van Reijmersdal
32.7k4 gold badges59 silver badges125 bronze badges
asked Jun 17, 2015 at 9:02

1 Answer 1

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

answered Jun 17, 2015 at 10:43
1
  • Sikuli looks interesting - and as bonus, it uses Python (Jython) as scripting language. Commented Jun 18, 2015 at 19:38

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.