From the course: Advanced Selenium: 3 Synchronization Strategies

End flaky tests by synchronizing well - Selenium Tutorial

From the course: Advanced Selenium: 3 Synchronization Strategies

Start my 1-month free trial

End flaky tests by synchronizing well

- [Alan] We often hear people complain about flaky automation, where the test fails sometimes in the build process, but when they run it locally or debug it, then it runs clean through without a problem. That is often an indication that the test code is not synchronizing effectively with the application state. My name is Alan Richardson, and I've been automating applications to support testing since 1995 and working with Selenium since 2007. I wrote a book on Selenium and Java and I've trained a lot of people to automate their applications using Java and Selenium. In this course, we are going to look in depth at the process of synchronizing applications using the built-in Selenium WebDriver classes, and some external libraries. We'll even look at using JavaScript from WebDriver to help synchronize against internal application state. If you want to make your automated GUI execution robust, then, this is a good place to be. So, what are we Waiting for? Let's get started.

Contents