Tutorial: Writing KISS UI Tests with Selenide

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 (6 years in open-source) 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.

This tutorial will show you typical test situation and the proposed solution with Java and Selenide. You will learn to use the very simple API of Selenide and also take the KISS ideas of UI test development, which can be implemented with different frameworks and different programming languages.

Due to limited time it will be a coding session with prepared examples. Full day workshop is intended for hands-on experience.

 
2 favorite thumb_down thumb_up 0 comments visibility_off  Remove from Watchlist visibility  Add to Watchlist
 

Outline/Structure of the Tutorial

It is a coding session, but not a live coding, so the example will be prepared beforehand to cover reasonable amount of material in 90 minutes.

  • Hello Google - the first test with Selenide
  • Arrange/Act/Assert basic pattern
  • Example of a simple readable test
  • Assertions in BDD-Style
  • Using different locators
  • Typical Checkbox & Radio & Dropdowns
  • KISS PageObjects Example
  • Using PageWidgets
  • Upload and Download Files
  • Run on different browsers
  • Configure to run in CI Tools
  • Run on Selenium Grid
  • Run in the Cloud

More advanced examples (if there is enough time - which is very probably not the case)

  • Handling the tables
  • Working with paging
  • Handling long response times

-

Learning Outcome

Learned how to tackle the typical UI Automation tasks using Selenide

Got a reference video (if recorded) for self-study

Got a samples repository for self-study (examples will be hosted on github)

Target Audience

Test automation engineers

Prerequisites for Attendees

Basic Java understanding, basic UI Test automation experience

schedule Submitted 1 year ago

Public Feedback

comment Suggest improvements to the Speaker

  • Liked Kushan Amarasiri
    keyboard_arrow_down

    Kushan Amarasiri - Unleash the Power of Selenide ~ Developing an End to End Automation Framework with Selenide

    480 Mins
    Workshop
    Beginner

    Selenide is a wrapper automation tool which uses Selenium WebDriver. It has many advantages compared to traditional WebDriver. Selenide supports AngularJS web solutions and it has also helped to reduce the most of the commands that we use for Traditional Selenium Automation tool. Selenide has been used widely in the industry and its free and open source test automation tools used widely among test automation professionals. In this workshop session I would be disseminating my knowledge to the audience about the Selenide Tool, Integrating Behavior Driven Development, Integrating Interactive Reporting Dashboard, Integrating Configurability and Promoting Reusability via Page Object Model. This session would be a highly interactive session where the audience will be given hands on practice on how to create a test automation framework using Selenide. This workshop will be done by Taking a practical and realistic test automation scenario.

  • Liked Artem Eroshenko
    keyboard_arrow_down

    Artem Eroshenko - Allure Framework: new generation test report tool

    Artem Eroshenko
    Artem Eroshenko
    Developer
    Qameta Software
    schedule 1 year ago
    Sold Out!
    45 Mins
    Talk
    Beginner

    Everyone involved in the automated testing has to examine the autotests results. Sometimes it's hard to understand whats going on in your test run. Is test failed because of test problem or product bug? Which tests are unstable (flaky)? How many new problems discovered in last run? Why current test run took more time than the previous one?

    In this talk Artem Eroshenko, Allure Core Developer, will describe how to solve mentioned problems using Allure Framework, present a new major version of Allure and how to integrate Allure with other tools.

    New Allure version brings lot of improvements to the report. Now you can adapt Allure to suite your needs using a plugin system. Besides that, it has a lot of interesting features: test history and retries, problem categories, environments, test analytics and trends, popular tools integrations and so on.

  • Liked Alexei Vinogradov
    keyboard_arrow_down

    Alexei Vinogradov - Bootstrap your UI Test Automation with Selenide

    480 Mins
    Workshop
    Beginner

    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 (6 years in open-source) 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 from one of the Selenide's developers 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 preferred).