VOOZH about

URL: https://www.coursera.org/learn/packt-advanced-selenium-webdriver-and-test-automation-undel

⇱ Advanced Selenium WebDriver and Test Automation | Coursera


Advanced Selenium WebDriver and Test Automation

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Advanced Selenium WebDriver and Test Automation

Included with

β€’

Learn more

Ask Coursera

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Manage browser pop-ups, iFrames, and JavaScript alerts with ease.

  • Apply test synchronization using implicit and explicit waits.

  • Analyze and master TestNG annotations, test execution, and HTML reporting.

  • Create robust test automation frameworks using Page Object Model and Page Factory.

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

6 assignments

Taught in English

Build your subject-matter expertise

This course is part of the Learn Selenium WebDriver with Java Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 12 modules in this course

Updated in May 2025.

This course now features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. This course is designed to elevate your Selenium WebDriver and test automation skills by automating complex web elements like select boxes, datepickers, and web tables, including handling multi-select boxes and web table cell objects. You'll manage browser pop-ups, multiple windows, and differentiate between close and quit methods. The course covers automation for iFrames, JavaScript alerts, and advanced mouse actions such as drag-and-drop, resizing UI elements, and multi-key operations. Test synchronization focuses on implicit and explicit waits, ensuring efficient test runs. You will explore Selenium 4 features, including configuration, relative locators, and updates to the actions class. Additionally, the course delves into operations like taking screenshots and retrieving element dimensions before advancing to TestNG concepts, including installation, automation, and using annotations for test management. The Page Object Model and Page Factory provide a framework for organizing test code, while TestNG's advanced features like groups, parameters, and parallel execution prepare you for any test automation challenge. This course is ideal for intermediate to advanced test automation engineers and developers with basic Selenium WebDriver knowledge, looking to expand their TestNG and advanced web automation skills.

In this module, we will delve into automating the interaction with complex web elements such as select boxes, multi-select boxes, date pickers, and web tables. You will learn how to handle these elements effectively and manipulate data within table cells.

What's included

5 videos2 readings

5 videosβ€’Total 52 minutes
  • Working with Select Boxesβ€’9 minutes
  • Working with Multi Select Boxesβ€’9 minutes
  • Working with Datepickerβ€’14 minutes
  • Working with Web Tablesβ€’10 minutes
  • Handling Objects within the Web Table Cellsβ€’10 minutes
2 readingsβ€’Total 20 minutes
  • Introduction to the Course 'Advanced Selenium WebDriver and Test Automation'β€’10 minutes
  • Full Specialization Resourcesβ€’10 minutes

In this module, we will explore techniques to automate browser pop-ups and manage multiple browser windows. You'll learn how to close pop-up windows efficiently and understand the differences between the close and quit methods in Selenium.

What's included

4 videos

4 videosβ€’Total 26 minutes
  • Handling Browser Pop-Upsβ€’11 minutes
  • Working with Multiple Browser Windowsβ€’8 minutes
  • Closing all Browser Pop-Up Windowsβ€’5 minutes
  • Close Versus Quitβ€’2 minutes

In this module, we will focus on handling iFrames and nested iFrames. You will learn the methods to switch between different iFrames and manage nested structures in your automated tests.

What's included

2 videos1 assignment

2 videosβ€’Total 19 minutes
  • iFramesβ€’13 minutes
  • Nested iFramesβ€’6 minutes
1 assignmentβ€’Total 15 minutes
  • Assessment 1β€’15 minutes

In this module, we will cover the automation of various JavaScript alerts, including basic alert boxes, confirmation boxes, and prompt boxes. You will learn how to interact with these alerts and validate their behavior in your tests.

What's included

3 videos

3 videosβ€’Total 12 minutes
  • JavaScript Basic Alert Boxβ€’5 minutes
  • JavaScript Confirmation Boxβ€’3 minutes
  • JavaScript Prompt Boxβ€’3 minutes

In this module, we will explore automating complex mouse actions like drag and drop, mouse hover, and right-click. You'll learn how to resize UI elements, manage sliders, and combine multiple actions for advanced interactions.

What's included

6 videos

6 videosβ€’Total 29 minutes
  • Mouse Hoverβ€’6 minutes
  • Right Clickβ€’5 minutes
  • Drag and Dropβ€’6 minutes
  • Resizing UI Elementsβ€’3 minutes
  • Sliderβ€’4 minutes
  • Multi-key Operationsβ€’5 minutes

In this module, we will discuss the concept of test synchronization and its importance in automation. You will learn about implicit and explicit waits in Selenium WebDriver and how to optimize your scripts for dynamic web elements.

What's included

3 videos1 assignment

3 videosβ€’Total 22 minutes
  • What Is Test Synchronization?β€’9 minutes
  • Implicit Waitβ€’7 minutes
  • Explicit Waitβ€’6 minutes
1 assignmentβ€’Total 15 minutes
  • Assessment 2β€’15 minutes

In this module, we will explore the new features and enhancements in Selenium 4. You'll learn about configuring Selenium 4, using updated implicit waits, opening new browser windows, and employing relative locators and the enhanced Actions class.

What's included

6 videos

6 videosβ€’Total 36 minutes
  • Selenium v.4 Configurationβ€’3 minutes
  • Implicit Wait in Selenium v.4β€’5 minutes
  • Opening New Browser Window/Tabβ€’12 minutes
  • Relative Locators in Selenium v.4β€’11 minutes
  • Minimizing Browser Window in Selenium v.4β€’5 minutes
  • Actions Class Update in Selenium v.4β€’2 minutes

In this module, we will cover various miscellaneous operations in Selenium, such as taking screenshots, capturing specific sections of a webpage, and retrieving element dimensions and coordinates. You'll learn advanced techniques for handling web element properties.

What's included

4 videos

4 videosβ€’Total 18 minutes
  • Taking Screenshot by WebDriverβ€’5 minutes
  • Capturing Screenshot of Specific Section of Webpageβ€’4 minutes
  • Get Height and Width of Elementsβ€’5 minutes
  • Getting X and Y Coordinates of Elementsβ€’4 minutes

In this module, we will introduce TestNG and guide you through the installation and setup process. You will learn how to automate your first test, use assertions, and manage test execution with TestNG annotations and XML files.

What's included

10 videos1 assignment

10 videosβ€’Total 81 minutes
  • Installing TestNGβ€’5 minutes
  • Automating the First Test in TestNGβ€’11 minutes
  • Assertions in TestNGβ€’11 minutes
  • Hard versus Soft Assertions in TestNGβ€’7 minutes
  • @BeforeMethod and @AfterMethod Annotationsβ€’8 minutes
  • @BeforeClass and @AfterClass Annotationsβ€’6 minutes
  • Managing Test Execution Using TestNG XML Filesβ€’9 minutes
  • Including and Excluding Methods in an XML Fileβ€’9 minutes
  • @BeforeTest and @AfterTest Annotationsβ€’10 minutes
  • @BeforeSuite and @AfterSuite Annotationsβ€’5 minutes
1 assignmentβ€’Total 15 minutes
  • Assessment 3β€’15 minutes

In this module, we will delve into the Page Factory design pattern and the Page Object Model (POM). You will learn how to create base classes, page libraries, and flow libraries to structure and manage your test automation efficiently.

What's included

7 videos

7 videosβ€’Total 74 minutes
  • Page Factoryβ€’12 minutes
  • Elements Collection (List) in Page Factoryβ€’2 minutes
  • Initializing Page Factory Elementsβ€’11 minutes
  • Page Object Model (POM)β€’21 minutes
  • Creating Base Classβ€’9 minutes
  • Creating Page Libraryβ€’12 minutes
  • Creating Flow Libraryβ€’7 minutes

In this module, we will continue exploring TestNG by learning about grouping and parameterizing tests, managing test dependencies, and executing tests in parallel. You'll also learn how to generate HTML reports and use data providers in TestNG.

What's included

8 videos1 assignment

8 videosβ€’Total 47 minutes
  • TestNG Groupsβ€’9 minutes
  • TestNG Parametersβ€’10 minutes
  • Managing Test Dependencies in TestNGβ€’4 minutes
  • Ignoring Test Methods in TestNGβ€’2 minutes
  • Parallel Execution in TestNGβ€’3 minutes
  • TestNG Hypertext Markup Language (HTML) Reportsβ€’2 minutes
  • Data Provider in TestNGβ€’11 minutes
  • Finishing Remarksβ€’5 minutes
1 assignmentβ€’Total 15 minutes
  • Assessment 4β€’15 minutes

In this module, we will wrap up the entire course by reviewing key concepts and planning the next steps in your test automation journey. You'll also learn about additional resources and support available for continued learning and development.

What's included

1 video1 reading2 assignments

1 videoβ€’Total 3 minutes
  • Conclusion to the Specializationβ€’3 minutes
1 readingβ€’Total 10 minutes
  • Conclusion to the Course 'Advanced Selenium WebDriver and Test Automation'β€’10 minutes
2 assignmentsβ€’Total 75 minutes
  • Full Course Assessmentβ€’60 minutes
  • Full Course Practice Assessmentβ€’15 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Packt
1,926 Coursesβ€’560,010 learners

Why people choose Coursera for their career

πŸ‘ Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
πŸ‘ Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
πŸ‘ Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
πŸ‘ Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions

Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.

If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.

Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.

If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.

This course is currently available only to learners who have paid or received financial aid, when available.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,