Functional Testing with Selenium: Waiting Strategies & Window Management
Selenium 4.19+
| Intermediate
- 13 videos | 1h 43m 25s
- Includes Assessment
- Earns a Badge
In Selenium, waiting strategies are crucial for ensuring robust test execution, as they allow scripts to dynamically adjust to varying load times and asynchronous operations. Window management is essential for testing web applications that interact with multiple browser windows or tabs, enabling testers to simulate real user interactions. In this course, you will learn a variety of functional testing strategies essential for any software tester's toolkit. You will start by understanding waiting strategies and learn to manage multiple windows and tabs. Additionally, you will be introduced to advanced interactions using the Robot class and the concepts of the Page Object Model and Page Factory, which facilitate cleaner and more maintainable test code. Next, you will get hands-on practice with dynamic elements on web pages. You will explore various waiting strategies, including both implicit and explicit waits, and see how these can be effectively applied in different scenarios. You will also gain proficiency in using Fluent Wait to handle more detailed configuration for your explicit waits. Finally, you will build skills in tab and window management techniques. You will practice techniques for opening and switching tabs, closing tabs, and quitting browsers to ensure clean session endings. Moreover, you will master the ability to take screenshots, both full-screen and of specific elements, to verify the visual accuracy of web applications during tests.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseProvide an overview of using selenium for functional testingUse thread.sleep() to wait for dynamic elements in web pagesConfigure and use implicit waits for dynamic elementsConfigure and use explicit waits for dynamic elementsExplore the different explicit wait conditions supportedImplement explicit waits for elements, enabled elements, and attribute values
-
Configure and use the fluent wait for more flexibility in waiting strategiesOpen multiple tabs and switch to tabs on the browserClose tabs and close browser windowsImplement options for window managementTake full screen and element screenshotsSummarize the key concepts covered in this course
IN THIS COURSE
-
2mIn this video, we will discover the key concepts covered in this course. FREE ACCESS
-
11m 57sIn this video, you will learn how to provide an overview of using Selenium for functional testing. FREE ACCESS
-
11m 52sLearn how to use Thread.sleep() to wait for dynamic elements in web pages. FREE ACCESS
-
6m 29sIn this video, discover how to configure and use implicit waits for dynamic elements. FREE ACCESS
-
7m 45sFind out how to configure and use explicit waits for dynamic elements. FREE ACCESS
-
6m 15sIn this video, we will explore the different explicit wait conditions supported. FREE ACCESS
-
9m 34sDiscover how to implement explicit waits for elements, enabled elements, and attribute values. FREE ACCESS
-
9m 46sIn this video, find out how to configure and use the fluent wait for more flexibility in waiting strategies. FREE ACCESS
-
10m 25sDuring this video, you will learn how to open multiple tabs and switch to tabs on the browser. FREE ACCESS
-
5m 9sFind out how to close tabs and close browser windows. FREE ACCESS
-
10m 49sIn this video, you will learn how to implement options for window management. FREE ACCESS
-
8m 54sDiscover how to take full screen and element screenshots. FREE ACCESS
-
2m 29sIn this video, we will summarize the key concepts covered in this course. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.