Selenide: Enjoy Writing Automated Tests for Mobile & Web | Andrei Solntsev
Join 𝐀𝐧𝐝𝐫𝐞𝐢 𝐒𝐨𝐥𝐧𝐭𝐬𝐞𝐯, Software Developer at Codeborne, on an eye-opening journey into "Writing Automated Tests with Selenide." 🚀 In this session, Andrei demonstrates how to create readable and stable UI tests using Selenide, an open-source Java library designed for seamless UI testing.
Explore powerful features like screenshots, reports, file downloads, proxies, custom matchers, actions, and more—everything you’ve always needed but used to write manually. Don’t miss this chance to elevate your UI testing game with Selenide’s robust capabilities! 🌟
35+ Sessions
60+ Speakers
20,000+ Attendees
2000+ Minutes
Live Q&As
The video is a session from the Testμ (TestMu) 2024 conference hosted by Pooja, featuring Andre, the creator of Selenide. The session focuses on how Selenide, an open-source library for Java, enhances automated UI testing by making it more straightforward, readable, and reliable.
Introduction to Selenide:
Selenide is a testing library built on top of Selenium to simplify writing automated UI tests in Java.
Offers a concise API for creating stable, readable, and easy-to-maintain tests.
Automates common tasks like screenshots, file downloads/uploads, and more.
Key Features of Selenide:
Concise Syntax: Shorter and more readable commands compared to raw Selenium.
Smart Waiting: Automatically retries actions like clicking or checking elements to handle dynamic elements and reduce flaky tests.
Error Handling and Reporting: Generates clear error messages with screenshots and page source, aiding in debugging.
Handling Collections: Supports testing collections of elements (e.g., checking the contents of lists or tables) efficiently.
Advanced Functionalities:
Reports Integration: Provides built-in reports such as text reports and integration with Allure for more detailed insights.
File Handling: Simplifies file upload and download processes, which are complex in Selenium.
Mobile Testing: Allows writing tests for mobile applications with similar syntax and functionalities.
Using Selenide with Cloud Services:
Demonstrates how to run Selenide tests on cloud platforms like LambdaTest.
Shows configuration settings required to execute tests in the cloud, such as setting up remote web drivers and capabilities.
Page Object Model in Selenide:
Selenide supports a simplified approach to defining page objects, eliminating the need for additional annotations or web driver instances.
Offers flexibility to use traditional annotations if preferred.
Additional Features and Customizations:
Discusses various utilities and advanced features, such as working with local storage, session storage, clipboard contents, frames, and shadow DOM.
Supports creating custom commands and conditions for more specific testing needs.
Addressing Common Testing Challenges:
Provides solutions for handling flaky tests and ensuring test independence.
Emphasizes collaboration with developers to create more testable applications.
Q&A Highlights:
Handling flaky tests through Selenide's built-in waiting mechanisms.
Strategies to ensure tests do not depend on each other, such as using specific test environments or endpoints.
The session gives a comprehensive overview of how Selenide can enhance automated UI testing in Java, offering numerous built-in features that address common challenges in testing.
Testμ
Testμ (TestMu) is more than just a virtual conference. It is an immersive experience designed by the community, for the community! A 3-day gathering that unites testers, developers, community leaders, industry experts, and ecosystem partners in the testing and QA field, all converging under a single virtual roof. 😀
Elevating Your Communication to Drive Excellence in QA Teams | Erika Chestnut | LambdaTest
TestMu 2024Vision-First Test Automation - What, Why, How, & Lessons Learned | Jason Huggins| LambdaTest
TestMu 2024