How to make Selenium tests reliable, scalable, and maintainable
1–10 of 71 posts
Re: How to make Selenium tests reliable, scalable, and maintainable
#2Re: How to make Selenium tests reliable, scalable, and maintainable
#3I do find Selenium a overly complicated so thanks for the post.
Re: How to make Selenium tests reliable, scalable, and maintainable
#4The approach in the blog post (and I think elsewhere ... not sure) is to poll the DOM with a timeout.
Is there a better solution to be add with something like `executeScript`? You could run `requestAnimationFrame`, and then poll for an indicator that the click, etc. handler has indeed finished. That way if it fails, you know about it pretty soon, without the need for long timeouts. This is all just a guess though.
Re: How to make Selenium tests reliable, scalable, and maintainable
#5> One developer designed a way to take a screenshot of our main drawing canvas and store it in Amazon’s S3 service. This was then integrated with a screenshot comparison tool to do image comparison tests.
I would also take a look at Applitools https://applitools.com/ — they have Selenium webdriver-compatible libraries that do this screenshot taking/upload and offer a nice interface for comparing screenshot differences (and for adding ignore areas). Way fewer false failures than typical pdiff/imagemagick comparisons.
Re: How to make Selenium tests reliable, scalable, and maintainable
#6Re: How to make Selenium tests reliable, scalable, and maintainable
#7Re: How to make Selenium tests reliable, scalable, and maintainable
#8BrowserMob, that was a sweet service (based on selenium). Does anyone know what happened to those guys after they sold? I've always wanted to learn more about their story.
Re: How to make Selenium tests reliable, scalable, and maintainable
#9Re: How to make Selenium tests reliable, scalable, and maintainable
#10tldr; have developers help maintain automation tests