Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Selenium Automation and Testing Frameworks

Packt via Coursera

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.

Syllabus

  • Setting Up the First Web Application
    • 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.
  • Selenium Automation – Locators
    • 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.
  • Selenium Automation - Playing with Form Elements
    • 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.
  • Selenium Automation - Advanced Testing Scenarios
    • 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.
  • Introduction to Cross Browser Automation Testing
    • 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.
  • Data-Driven Testing with Data Providers, CSV, and Excel Spreadsheets
    • 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.
  • Implementing Page Object Model for Update To-Do Scenario
    • 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.
  • Scaling Up with Selenium Standalone and Grid
    • 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.
  • Congratulations
    • In this module, we're wrapping up the Specialization.
  • Appendix – Maven
    • 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.

Taught by

Packt - Course Instructors

Reviews

Start your review of Selenium Automation and Testing Frameworks

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.