Selenium Automation and Testing Frameworks
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Selenium Automation and Testing Frameworks
This course is part of Learn Automation Testing with Java and Selenium Webdriver Specialization
1,716 already enrolled
Included with
Learn more
Ask Coursera
14 reviews
Recommended experience
14 reviews
Recommended experience
What you'll learn
Differentiate between cross-browser and headless testing techniques and their applications.
Develop data-driven tests using CSV and Excel files.
Assess and design robust frameworks using the Page Object Model.
Integrate and scale automation tests with Selenium Grid and standalone server.
Skills you'll gain
Tools you'll learn
Details to know
4 assignments
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- 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 10 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. In this comprehensive course, you'll embark on a journey to master Selenium, a powerful tool for automating web applications. Starting with the basics of setting up your first web application, you'll learn to efficiently locate web elements using various strategies like ID, name, and tag name. The course includes the use of TestNG for project setup and debugging techniques. You'll explore handling different form elements, creating robust automation scripts that mimic real-world interactions. Advanced topics like window navigation, alert handling, and using WebDriver's manage window methods are covered, along with implicit and explicit waits for dynamic web testing. The course also covers cross-browser testing, headless tests, and data-driven testing using CSV and Excel files. By the end, you'll understand the Page Object Model, Selenium Grid, and standalone server, equipping you with the skills to scale your automation tests. Designed for QA professionals and software testers with basic web technology knowledge, the course enhances skills in automated testing using Selenium. Fundamental Java knowledge is recommended.
In this module, we will guide you through the process of setting up your first web application for Selenium automation. You will learn critical refactoring shortcuts to streamline your workflow and gain proficiency in using key keyboard shortcuts to speed up your development tasks. This foundational knowledge is crucial for efficient test automation and framework implementation.
What's included
3 videos2 readings
3 videosβ’Total 18 minutes
- Step 01 - Setting Up the First Web Applicationβ’10 minutes
- Step 02 - Refactoring Shortcuts to Learnβ’5 minutes
- Step 03 - My Favorite Shortcuts - Ctrl + 1 and Ctrl + Spaceβ’3 minutes
2 readingsβ’Total 20 minutes
- Introduction to the Course 'Selenium Automation and Testing Frameworks'β’10 minutes
- Full Specialization Resourcesβ’10 minutes
In this module, we will delve into the essentials of using Selenium locators to automate web element interactions. You will learn how to set up a new project with TestNG, locate elements by different attributes such as ID, name, tag name, link text, class, and CSS selectors, and handle common debugging scenarios. This module also covers advanced topics like optimizing performance and choosing the best locator strategy for different situations.
What's included
25 videos
25 videosβ’Total 138 minutes
- Step 01 - Introduction to the Sectionβ’2 minutes
- Step 02 - Setting Up a New Project with TestNGβ’10 minutes
- Step 03 01 - Selenium Locators - Locate Elements by Id and WebElement Interfaceβ’8 minutes
- Step 03 02 - Exercise - Selenium Locators - Locate Elements by Idβ’2 minutes
- Step 04 - Selenium Locators - Locate Elements by Name - Part 1β’5 minutes
- Step 05 - Selenium Locators - Locate Elements by Name - Part 2β’4 minutes
- Step 06 - Abstracting @BeforeTest and @AfterTest to Common Super Class AbstractCβ’4 minutes
- Step 07 - Debugging Errors - Element Not Found Exceptionβ’5 minutes
- Step 08 - Selenium Locators - Locate Elements by Tag Nameβ’5 minutes
- Step 09 - Finding Multiple Matching Elements with findElementsβ’7 minutes
- Step 10 - Finding Multiple Matching Input Elementsβ’4 minutes
- Step 11 - Slowing Tests Using Sleep for Visualizingβ’4 minutes
- Step 12 - Automation Test for Entering UserId and Password and Loggingβ’10 minutes
- Step 13 - Exercise - Create Automation Test for Login Static Pageβ’4 minutes
- Step 14 - Selenium Locators - Locate Elements by Link Textβ’5 minutes
- Step 15 - Selenium Locators - Locate Elements by Partial Link Textβ’3 minutes
- Step 16 - Selenium Locators - Locate Elements by Classβ’7 minutes
- Step 17 - Exercise - Selenium Locators - Locate Elements by Classβ’5 minutes
- Step 18 - Selenium Locators - Locate Table Elementβ’8 minutes
- Step 19 - Exercise - Selenium Locators - Locate and Click Table Elementβ’7 minutes
- Step 20 - Understanding CSS Selectors for Table Data β tdβ’7 minutes
- Step 21 - Using XPath Expressions to Locate Table Elementsβ’8 minutes
- Step 22 - Choosing Among Multiple Selenium Locator Optionsβ’3 minutes
- Step 23 - Improving Performance by Caching WebElementsβ’6 minutes
- Step 24 β Conclusionβ’2 minutes
In this module, we will explore the automation of form elements using Selenium WebDriver. You'll learn how to read and set values for text inputs, text areas, checkboxes, radio buttons, and select boxes. Additionally, we'll cover creating utility methods for these interactions to streamline your automation framework. This comprehensive overview will enable you to effectively manage form elements in your automated tests.
What's included
12 videos1 assignment
12 videosβ’Total 64 minutes
- Step 01 - Introduction to the Sectionβ’1 minute
- Step 02 - Reading and Setting values into Text Elements Using Selenium WebDriverβ’7 minutes
- Step 03 - Reading and Setting Values into TextArea Elements Using Selenium WebDriverβ’5 minutes
- Step 04 - Reading Value of CheckBox in Automation Testsβ’5 minutes
- Step 05 - Setting Value of CheckBox in Automation Testsβ’4 minutes
- Step 06 - Creating Framework Utility Method for CheckBox in Automation Testsβ’7 minutes
- Step 07 - Reading Value of Radio Button in Automation Testsβ’9 minutes
- Step 08 - Setting Value of Radio Button in Automation Testsβ’8 minutes
- Step 09 - Reading Value of Select Boxβ’6 minutes
- Step 10 - Reading Value of Multi Select Boxβ’3 minutes
- Step 11 - Setting Value of Select Box in Automation Testβ’9 minutes
- Step 12 β Conclusionβ’1 minute
1 assignmentβ’Total 15 minutes
- Assessment 1β’15 minutes
In this module, we will guide you through setting up a robust Selenium project using TestNG, focusing on advanced testing scenarios. You'll learn to read and manipulate CSS styles, check element states, navigate windows, and handle modal dialogs efficiently. We'll also cover using waits, writing tests for alert boxes and frames, taking screenshots, and executing JavaScript code. Additionally, you will learn to design frameworks for table handling and use the Actions interface for complex interactions like drag and drop. This module is designed to equip you with the skills needed for tackling sophisticated automation challenges.
What's included
23 videos
23 videosβ’Total 167 minutes
- Step 01 - Introduction and Setting Up a New Project with TestNG and Seleniumβ’6 minutes
- Step 02 - Reading CSS Stylesβ’7 minutes
- Step 03 - Exercise - Reading CSS Stylesβ’4 minutes
- Step 04 - Checking Whether an Element is Enabled Using isEnabled and Exploring WebDriverβ’9 minutes
- Step 05 - More Methods in WebDriver Interface - getAttribute, getLocationβ’12 minutes
- Step 06 - Accessing Window Information Using WebDriver Manage Window Methodβ’9 minutes
- Step 07 - Window Navigation in Selenium Automation Test with WebDriver Navigateβ’4 minutes
- Step 08 - Automation Testing Modal Windows Using Sleepβ’10 minutes
- Step 09 - Automation Testing Modal Windows with Implicit Waitβ’7 minutes
- Step 10 01 - Automation Testing Modal Windows with Explicit Waitsβ’9 minutes
- Step 10 02 - Automation Testing Modal Windows with Explicit Waits β Eventsβ’3 minutes
- Step 11 - Testing Alert Boxes with Seleniumβ’11 minutes
- Step 12 - Window Handles and Basics of Testing New Browser Window Launchβ’6 minutes
- Step 13 - Finding the Handle of Newly Launched Windowβ’6 minutes
- Step 14 - Switching to Newly Launched Windowβ’7 minutes
- Step 15 - Writing Automation Tests for Framesβ’7 minutes
- Step 16 - Taking a Screenshot During Automation Testβ’7 minutes
- Step 17 - Executing JavaScript Code in Selenium Testβ’7 minutes
- Step 18 - Reviewing WebDriver Interfaceβ’3 minutes
- Step 20 - Writing Automation Tests for Tablesβ’7 minutes
- Step 21 - Designing a Basic Framework for Tablesβ’11 minutes
- Step 22 - Using Actions Interface for Basic Actions with Keyboard and Mouseβ’7 minutes
- Step 23 - More Actions Interface - Drag, Drop, Hold, and Releaseβ’7 minutes
In this module, we will introduce the key concepts and benefits of cross-browser automation testing. You will learn how to set up projects to run tests in various browsers, including Chrome, Firefox, Safari, and Internet Explorer. Additionally, we'll cover running headless tests using PhantomJS and headless modes in Chrome and Firefox. The module also focuses on designing a robust cross-browser automation test framework, ensuring your tests are reliable and efficient across different environments.
What's included
7 videos
7 videosβ’Total 41 minutes
- Step 01 - Introduction to Cross Browser Automation Testingβ’2 minutes
- Step 02 - Setting Up a New Project and Running Tests in Chrome and Firefoxβ’8 minutes
- Step 03 - Running Automation Tests in Other Browsers - Safari, Internet Explorerβ’4 minutes
- Step 04 - Running Headless Automation Test with PhanthomJSβ’7 minutes
- Step 05 - Running Automation Tests with Chrome and Firefox Browsers in Headlessβ’5 minutes
- Step 06 - Designing Cross Browser Automation Test Framework - Part 1β’10 minutes
- Step 07 - Designing Cross Browser Automation Test Framework - Part 2β’5 minutes
In this module, we will explore the fundamentals and advantages of data-driven testing. You will learn to set up new projects with hardcoded and dynamic data scenarios, write tests for unsuccessful logins, and use DataProviders to manage test data. We'll cover reading and connecting test data from CSV files and Excel spreadsheets, utilizing tools like POI and ExcelReadUtil. By the end of this module, you'll be adept at incorporating various data sources into your Selenium automation tests for comprehensive and efficient test coverage.
What's included
13 videos1 assignment
13 videosβ’Total 80 minutes
- Step 01 - Section Overviewβ’2 minutes
- Step 02 - Understanding Prerequisites and Login Test Scenarioβ’3 minutes
- Step 03 - Setting Up a new Project with Hardcoded Login Scenarioβ’8 minutes
- Step 04 - Writing Automation Test for Unsuccessful Loginβ’4 minutes
- Step 05 β Data-Driven Unsuccessful Login Automation Test with DataProviderβ’6 minutes
- Step 06 - Adding Passwords to DataProviderβ’6 minutes
- Step 07 - Adding Expected Test Result to Data Providerβ’8 minutes
- Step 08 - Reading Test Data from CSV Fileβ’11 minutes
- Step 09 - Connecting Test Data Provider to CSV Fileβ’11 minutes
- Step 10 - Setting Up Excel File with Google Spreadsheetsβ’4 minutes
- Step 11 - Reading Test Data from Excel Using POI and ExcelReadUtilβ’9 minutes
- Step 12 - Understanding ExcelReadUtilβ’5 minutes
- Step 13 - Connecting Test Data Provider to Excel Fileβ’5 minutes
1 assignmentβ’Total 15 minutes
- Assessment 2β’15 minutes
In this module, we will introduce the Page Object Model (POM) and its benefits for automation testing. You'll start by setting up a new project and creating an initial automation test for the update To-Do scenario. As you progress, you'll refactor this test to use Page Objects, making the tests more maintainable and easier to read. We will guide you through creating your first Page Object, updating the automation test to use these objects, and implementing action methods within them. By the end of this module, you'll be proficient in creating and managing Page Objects to improve your test automation framework.
What's included
10 videos
10 videosβ’Total 70 minutes
- Step 01 - Introduction - Objectives and Prerequisitesβ’2 minutes
- Step 02 - Setting Up a New Project and Creating an Outline for the Update Todoβ’10 minutes
- Step 03 - Writing the First Version of Update Todo Automation Testβ’8 minutes
- Step 04 - First Working Version of Update Todo and a Discussion on Maintainabilityβ’5 minutes
- Step 05 - Introduction to Page Object Modelβ’6 minutes
- Step 06 - Creating Your First Page Objectβ’6 minutes
- Step 07 - Updating the Automation Test to Use Login Page Objectβ’6 minutes
- Step 08 - Creating Action Methods in Login Page Objectβ’4 minutes
- Step 09 - Creating Todo Page Objectβ’9 minutes
- Step 10 - Creating List Todo Page Objectβ’14 minutes
In this module, we will explore the process of scaling your Selenium automation tests using Selenium Standalone Server and Selenium Grid. You'll start with an introduction to these tools, followed by detailed installation steps using Node JS and NPM. We'll guide you through setting up an automation project, creating and running tests using the Standalone Server, and then expanding to Selenium Grid with a hub and multiple nodes. Additionally, you'll learn how to configure different browser capabilities for these nodes, enabling efficient and scalable test execution across various environments.
What's included
8 videos
8 videosβ’Total 54 minutes
- Step 01 - Selenium Standalone and Grid - An Introductionβ’3 minutes
- Step 02 - Installation Step I - NPM Using Node JSβ’6 minutes
- Step 03 - Installation Steps II and III - Installing and Launching Selenium Standβ’6 minutes
- Step 04 - Setting Up an Automation Project and Creating a Simple Testβ’6 minutes
- Step 05 - Creating a New Test to Run Using Selenium Standalone Serverβ’9 minutes
- Step 06 - Introduction to Selenium Grid - Hub and Nodesβ’3 minutes
- Step 07 - Setting Up Selenium Grid with a Hub and Two Nodesβ’10 minutes
- Step 08 - Setting Up Different Browser Capabilities for the Nodesβ’12 minutes
In this module, we're wrapping up the Specialization.
What's included
1 video
1 videoβ’Total 1 minute
- Congratulationsβ’1 minute
In this module, we will provide a concise introduction to Maven, a powerful tool for project management and build automation. You'll learn to create and import Maven projects, delve into the details of the Project Object Model (POM), and understand the Maven build lifecycle. Additionally, we will explain how Maven works to streamline the management of project dependencies and automate various development tasks. This appendix serves as a crucial resource for integrating Maven into your Selenium automation and testing frameworks.
What's included
5 videos1 reading2 assignments
5 videosβ’Total 29 minutes
- Introduction to Maven in Five Stepsβ’3 minutes
- Step 01 - Creating and Importing a Maven Projectβ’5 minutes
- Step 02 - Understanding Project Object Modelβ’8 minutes
- Step 03 - Maven Build Lifecycleβ’7 minutes
- Step 04 - How Does Maven Work?β’6 minutes
1 readingβ’Total 10 minutes
- Conclusion to the Course 'Selenium Automation and Testing Frameworks'β’10 minutes
2 assignmentsβ’Total 75 minutes
- Assessment 3β’15 minutes
- Full Course Assessmentβ’60 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
Offered by
Explore more from Software Development
- Status: Free Trial
Specialization
- Status: Free Trial
Course
Why people choose Coursera for their career
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.
More questions
Financial aid available,
