UI-Testing with Selenide from the beginning

Alexei Vinogradov

Date: April 26, 2017

Language: Russian

About the workshop:

As Selenium WebDriver is known to be a tool for browser automation and not for testing, we are doomed to use some testing frameworks to get efficient at automating web tests. But should every project reinvent the wheel? My answer is – “no!”.

Selenide is a well-known matured (5 years old) web test automation framework with a large community, which has already solved almost every typical web automation problem. Just write your web tests in concise, easy to read manner, and concentrate on your business problems and not on taming your browsers.

In this class you will learn how to configure and start using Selenide from scratch in your project. While learning basics, we will be solving typical web automation tasks with real application exactly the way you would be doing it on your job!

Requirements:

Attendee should have basic understanding of Java, and at least some thoughts about how and why to write automated web tests in general. Please bring your notebook, with a preinstalled IDE (IntelliJ IDEA or Eclipse).

Topics to cover:

  • Starting a web automation project
  • Writing and executing tests in general (JUnit/Gradle)
  • Testing with different configurations
  • Writing readable & maintainable code
  • PageObject pattern
  • CSS Selectors / XPath
  • Selenide API
  • Testing using CloudServices (BrowserStack, SauceLabs)