Testμ 2022 Home / Video /

Developing End To End Tests With Selenium 4 And Java | Boni García | Testμ 2022

Developing End To End Tests With Selenium 4 And Java | Boni García | Testμ 2022

...Playlist

...
  • Jay Singh - Welcome Note in Testμ 2022
  • It's Time for a TRIM
  • Future of Testing - Panel Discussion
  • Quality Engineering Using Human & Machine Interactive
  • Closing Note Day 1
  • Phase angle of API testing
  • Automate User Flows with Chrome DevTools Recorder
  • Test Recommender Systems
  • Leading and Shaping a Testing Team with the Testing Wheel
  • The Evolution of Browser Automation
  • Beyond Functional Testing
  • Convergence of Test Automation
  • The Web Has Evolved. Has Your Testing Evolved Too
  • Workshop on Test Intelligence
  • Taking Your Pipeline from Meh to Awesome
  • Beyond 200 OK
  • Mayank Bhola - Welcome Note in Testμ 2022
  • Tech Insights In AMA Session
  • Selenium 4.0 And The Future
  • Kavya Nair - Closing Note Day 2
  • Let's Do a Thing and Call It Foo
  • An Innovation for all unsolved XPath & Selectors problems
  • Reducing Production Failures by Improving Quality
  • Why Just Shift Left When You Want to Make Progress
  • A Journey Through Open Source with Selenium
  • Simplifying Your Test Runs with Make
  • Panel Discussion: What Automation Technology to Use
  • Developing end to end tests with Selenium 4 and Java
  • Open e2e Test Initiative with Open MCT
  • The 10,000 Steps of Open Source Project Health
  • About Community, Innovation And Testing
  • Automation' is Key in Accelerating Business Velocity
  • Closing Note Day 3 In Testμ 2022
  • Dirty Tests and How to Clean Them
  • How To Test API With Cypress
  • Test Orchestration using HyperExecute
  • Appium: Endgame and What's Next?
  • How to Bring Accessibility into Your Teams
  • Panel Discussion: What π Has To Do With Quality
  • An Idea of Shift left Testing–What, Why, How, & When
  • GitHub for Test Automation

About The Talk

Selenium WebDriver (also known as simply Selenium, like its umbrella project) is an open-source library that allows programmatic control of web browsers using various languages including Java, JavaScript, Python, Ruby, and C#. Its primary application is to run end-to-end tests on web applications. Nonetheless, Selenium WebDriver is not a standalone testing library. As a result, other ingredients will be required for web testing with Selenium WebDriver.

This talk goes over how to write end-to-end tests for web applications using Selenium 4 (due out in October 2021) and Java. To that end, we'll go over the build tools (Maven, Gradle), unit testing frameworks (JUnit 4/5, TestNG), and assertion libraries (AssertJ) needed to create comprehensive Selenium WebDriver tests. Furthermore, you will learn about two end-to-end test helper tools, WebDriverManager (for automated driver management and other features) and Selenium-Jupiter (JUnit 5 extension for Selenium WebDriver).

Key Topics Covered

Introduction to Selenium: The video begins with an overview of Selenium, defining it as a suite of tools for automating web browsers. The speaker emphasizes that Selenium is more than just a testing tool; it's a browser automation library that supports various programming languages.

Components of Selenium: The video details the three main components of Selenium: Selenium WebDriver, Selenium IDE, and Selenium Grid, explaining the purpose and functionality of each.

Selenium WebDriver: The speaker dives deep into Selenium WebDriver, discussing its importance as the core of Selenium for controlling browser actions programmatically using Java, JavaScript, Python, etc.

Testing Frameworks and Libraries: A significant portion of the video is dedicated to explaining the necessity of integrating Selenium with a testing framework (e.g., JUnit, TestNG) and the role of assertion libraries (e.g., AssertJ, Hamcrest) in enhancing test readability and error message clarity.

Practical Examples: The video includes practical coding examples showing how to set up Selenium tests, emphasizing the use of WebDriverManager for driver management and the benefits of using an assertion library for more fluent assertions.

Docker Integration: An interesting part of the video showcases how to use Selenium tests in Docker containers, enabling testing in a consistent, isolated environment.

Advanced Selenium Features: The speaker covers advanced Selenium features, such as browser version testing, use of Docker for testing across different browser versions, and integration with testing reporting tools for enhanced test reporting.

Q&A Session: The video concludes with a Q&A session where the speaker addresses questions from the audience, providing further insights into Selenium's capabilities, best practices for using WebDriverManager, and recommendations for test reporting tools.

About The Author

Boni García is a PhD in Information and Communications Technology from the Technical University of Madrid (UPM), Spain. His research interests include software testing, web engineering, and cloud computing.

Boni Works as an Assistant Professor at Universidad Carlos III de Madrid (UC3M) in Spain and teaches different courses about software engineering and computer networks.

He is the author of more than 35 research papers published in different journals, magazines, and international conferences. In 2017 he wrote the book Mastering Software Testing with JUnit 5, edited by Packt Publishing.

Testμ

Testμ

The free online Testµ (TestMu) conference by LambdaTest talks about trends that matter in the testing ecosystem. It helps software testers and developers get a glimpse into the future of testing. Over 30+ speakers, including community leaders and industry experts, join the event to share their thoughts.

More Videos from Testμ 2022