STARCANADA 2017 Concurrent Session : Flaky No More: Find the Right Framework for Your Selenium Tests

Conference archive

SEE PRICING & PACKAGES

Wednesday, October 18, 2017 - 1:30pm to 2:30pm

Flaky No More: Find the Right Framework for Your Selenium Tests

Add to calendar
New

Selenium has an industry reputation of being a flaky tool where individual tests pass, then fail—sometimes with no production changes at all. Such flakiness in your test suites can be extremely difficult, time-consuming, and frustrating to debug. The vast majority of these issues come from using either bad locators or bad wait conditions. Both of these root causes can be addressed by implementing the right framework for your Selenium tests. Craig Schwarzwald shares the most important concepts in creating a more reliable Selenium framework, such as using a base page object that wraps core Selenium methods, creating a single place to perform logging and error-handling, and implementing explicit waits. Craig discusses these and other tips that will solve nearly all Selenium flakiness issues in your test suites, while also making your tests easier to create, read, and maintain over the long term.

Craig_Schwarzwald
Vanguard

Craig Schwarzwald has more than a decade of professional scripting and automation experience. For the past six years he has focused on creating and maintaining the Selenium framework used by hundreds of testers, developers, and automation engineers at a large financial organization. Widely regarded as his company’s Selenium expert, Craig holds weekly “office hours” sessions to supply solutions to teams’ most difficult Selenium-based challenges. He teaches a two-day Selenium course to new automation engineers looking to learn Selenium. In his spare time, Craig enjoys bowling, playing softball, and having passionate discussions about Selenium, test automation, and any other Shift Left related topics. Follow Craig on Twitter @AutomationCraig.