Test Automation Framework (Selenium with Java) — Stepping Stones or Selenium Foundations Revisited

Tomasz Buga
8 min readOct 27, 2021

S01E04 of the Test Automation Framework series about everything you’ll need to set up the nice, simple, yet sophisticated framework.

Covered with clear explanations and pretty illustrations.

Sounds like fun? Cool. Now, please, fasten your seatbelts because you’re here for a ride.

S01E01 — What To Automate?

S01E02 — Test Automation Environment and Tools

S01E03 — The First Selenium Test Case

S01E05 — Page Factory and Elements Related Exceptions

S01E06 — Page Loading Strategies and Waits

S01E07 — Translating JIRA with Selenide (with Exercises)

S01E08 — JIRA, Selenide, Complex SQL, Java Objects with Equals & HashCode (with Exercises)

S01E09 — Code Review and Refactoring (Part 1)

S01E10 — Code Review and Refactoring (Part 2)

S01E11 — Allure in Action

This part of the article is entirely optional — if you already know how to handle the WebDriver configuration, or in case you don’t find it important at the moment, please move straight to the Stepping Stones of Test Framework section.

To automate the browser’s behavior, you have to download and configure the WebDriver. In the previous article, we’ve created our First Selenium Test Case, and we’ve used the WebDriverManager to set up the WebDriver.

WebDriverManager is a great tool, as it can save you a lot of time. However, I would like you to understand what’s happening in the background, thus we’re going to create our own, much simpler version, of the WebDriverManager.

Below you can find the table with an overview of the available WebDrivers (download URLs can be found at the Sources listing on the bottom of this article).

--

--

Tomasz Buga

Software Development Engineer in Tests. Passionate about programming. Experienced, former employee of the insurance industry. Graphic designer by choice.