Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

Mastering Selenium: Building A Robust Production Framework

Posted By: ELK1nG
Mastering Selenium: Building A Robust Production Framework

Mastering Selenium: Building A Robust Production Framework
Published 6/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 2.19 GB | Duration: 4h 1m

Robust Framework for Real Project with Best Practices, Parallel Execution, CI/CD, Allure report hosting and more!

What you'll learn

Build Selenium framework project the right way!

Build stateless pages

Build Atomic test cases without depending on the user state or the the application state

Use API steps to make test faster! and avoid the flakiness.

Build a framework that supports multiple browsers

Build a framework that supports multiple environments

Design the framework that supports running test cases in parallel

Allure reporting including steps and screenshots!

Execute our test cases in cloud using Github Actions

Deploy Allure Report to Github pages!

History of allure reports!

Requirements

Basic knowledge of Java

Basic knowledge of Selenium

Have Maven Installed in your machine!

Have Java installed in your machine!

Description

Welcome to "Mastering Selenium: Building a Robust Framework for Real Websites with Best Practices, Reporting, Parallel Execution, Multi-Browser, and Environment Support"!Are you ready to take your Selenium skills to the next level and build a complete automation framework for real-world websites? Look no further! This comprehensive Udemy course is designed to equip you with all the necessary knowledge and skills to create a robust Selenium framework that follows industry best practices.In this course, we'll dive deep into the world of Selenium automation and cover everything you need to know to develop a top-notch framework. Whether you're a beginner or an experienced Selenium user, this course will provide you with the expertise to tackle complex automation projects with confidence.Throughout the course, we'll guide you through each step of the framework development process. You'll learn how to set up your project structure, implement the Stateless Page Object Model (POM) design pattern, and leverage the power of best practices to write maintainable and scalable automation scripts.But that's not all! We understand the importance of reporting and parallel execution in automation projects. You'll discover how to integrate comprehensive reporting mechanisms into your framework, allowing you to analyze test results and generate detailed reports. Additionally, we'll explore parallel execution techniques, enabling you to execute tests concurrently, saving time and boosting efficiency.Furthermore, we'll delve into the world of multi-browser and multi-environment support. You'll learn how to configure your framework to run tests across various browsers such as Chrome, Firefox, and Safari, ensuring compatibility with different user environments. We'll also cover environment-specific configurations, allowing you to seamlessly switch between test environments, such as development, staging, and production.By the end of this course, you'll have a fully functional Selenium automation framework that incorporates best practices, comprehensive reporting, parallel execution, and multi-browser and multi-environment support. You'll be equipped with the skills to confidently automate tests for any real website and handle the complexities that come with it.So, what are you waiting for? Join us on this exciting journey to master Selenium and build a powerful automation framework. Enroll now and take your Selenium automation skills to new heights!

Overview

Section 1: Introduction

Lecture 1 Create new Maven project

Lecture 2 Add project dependencies

Lecture 3 Getting to know the app

Lecture 4 Launching browsers

Section 2: Build our Test cases

Lecture 5 Add Register Test case

Lecture 6 Add Todo Test case

Lecture 7 Delete Todo Test case

Section 3: Problems in our current design

Lecture 8 Design problems part 1

Lecture 9 Design problems part 2

Section 4: Factory and Base Test

Lecture 10 Create our main package

Lecture 11 Build the driver factory class

Lecture 12 Use faker to generate test data

Lecture 13 Build the Base Test class

Lecture 14 Build User model

Lecture 15 Improve User model constructor

Section 5: Stateless Page Objects - The right way!

Lecture 16 Introduction to page object

Lecture 17 Register page elements

Lecture 18 Todo page elements

Lecture 19 New todo page elements

Lecture 20 Build the register step

Lecture 21 Build is welcome message displayed step

Lecture 22 Build click on plus icon step

Lecture 23 Build add todo step

Lecture 24 Finish all the remaining steps

Lecture 25 Register page singleton design

Lecture 26 Todo page singleton design

Lecture 27 New todo page singleton design

Lecture 28 Build the load step

Section 6: Lets make it Dynamic!

Lecture 29 Run tests from command line

Lecture 30 Support multiple browsers

Lecture 31 Create our properties files

Lecture 32 Fix properties files extension

Lecture 33 Read from property file

Lecture 34 Build read from property method

Lecture 35 Read base URL from the config file

Lecture 36 Support Multi Environments

Section 7: API steps in E2E automation

Lecture 37 Introduction to API steps

Lecture 38 Add Rest Assured dependency

Lecture 39 Hit register API using Rest Assured

Lecture 40 User model as a request body

Lecture 41 Read the baseURI from the config file

Lecture 42 Extract response body values

Lecture 43 Build register using API method

Lecture 44 UserAPI Singleton design

Lecture 45 Selenium Cookies

Lecture 46 Inject cookies to browser

Lecture 47 Build register using API method

Lecture 48 Build the Todo API class

Lecture 49 Add Todo API body using String

Lecture 50 Add Todo API Auth

Lecture 51 Build Add Todo using API Step

Lecture 52 Update the test case to use the API step

Section 8: Parallel Execution!

Lecture 53 Add Maven Surefire plugin

Lecture 54 Why our test cases fail?

Lecture 55 Use thread local

Section 9: Allure Reporting!

Lecture 56 Configure Allure Reporting!

Lecture 57 Serve Allure HTML file

Lecture 58 Add Steps to allure reporting!

Lecture 59 Attach screenshots to our Allure report!

Lecture 60 Check the final report!

Section 10: CI/CD and Github Actions!

Lecture 61 Push our code to Github!

Lecture 62 Configure Github actions to execute our code!

Lecture 63 Execute our tests on cloud!

Lecture 64 Configure Github action to build Allure report and store the history

Lecture 65 Deploy allure report to Github pages!

Lecture 66 Check Allure history reports!

Lecture 67 Complete Project Repository!

Software testers who wants to learn how to build a complete framework using a real project!,Software testers who wants to learn by doing.,Anyone who wants to learn all the best practices in automation testing