How To Learn Selenium?

Learn Selenium…

1) What is Selenium?
2) Prerequisites for Selenium Testing
3) Select Selenium Tools and Others for Automated Testing
4) Java for Selenium
5) Selenium WebDriver, Selenium Grid
6) TestNG Testing Framework
7) Maven, Jenkins, and Others
8) Selenium Automation Framework
————————————————–

1) What is Selenium?

> Selenium is a suite of Software Tools for Automated Testing of Web Applications and it is mainly used for Functional & Regression Testing.

> If we have Manual Testing Experience or Knowledge then we can start learning Selenium. Otherwise first learn Manual Testing, then learn Selenium.

> In order to conduct Automated Testing (Functional Testing), Programming Knowledge is required.
————————————————————
2) Prerequisites for Selenium Testing

> To learn and work with Selenium, Manual Testing Experience or Knowledge,  Programming Knowledge, Database Fundamentals and HTML Fundamentals are required.
————————————————————
3) Select Selenium Tools and Others for Automated Testing

> You know, Selenium is not a single tool, it is a suite of tools, and it is not a Software which has various components for conduct Automated Testing.

> Select Editor to write Test Scrips (Eclipse IDE)
> Select Programming Language (Java)
> Select Test Tool (Selenium WebDriver)
> Select Testing Framework (TestNG)
> Select Maven (
> Select Jenkins
Etc..
————————————————————
4) Java for Selenium

Java Standard Edition or Core Java
Comments
Data Types
Modifiers
Variables
Operators
Control Flow (Conditions, Loops and Branching)
String Handling
Arrays
IO and File Handling
Methods (Predefined and User Defined)
Constructer
(In Java, constructor is a block of codes similar to method. It is called when an instance of object is created and memory is allocated for the object.)

(It is a special type of method which is used to initialize the object.)
Exception Handling
Java OOPS (Inheritance, Polymorphism, Abstraction and Encapsulation)
————————————————————Selenium Step by Step Tutorial

Selenium Learning Objectives

5) Selenium WebDriver

Web Elements
Operations on Web Elements
Element Locators
Inspect Elements
WebDriver Commands
instantiate a Browser and create the Browser Driver
Page Object Model (OR)
Writing Test Scripts

Selenium Grid
Run Test Scripts in Parallel
————————————————————
6) TestNG Testing Framework as Test Runner

> Writing TestNG Test Cases
> TestNG Annotations
> Grouping Test Cases
> Prioritizing Test Cases
> Executing Test cases/batches
> Executing multiple Java programs or classes using XML
> Generating Test Reports
————————————————————
7) Maven, Jenkins and Test Result Analyzer

Maven (Build Automation Tool)
> Maven is used to define project structure, dependencies, build, and test management.

> Using pom.xml in Maven we can configure dependencies needed for building testing and running code.

> Maven automatically downloads the necessary files from the repository while building the project.

Jenkins (Continuous Integration)
> Running Selenium tests in Jenkins allows you to run your tests every time your Software changes and deploy the software to a new environment when the tests pass.

> Jenkins can schedule your tests to run at specific time.

> We can save the execution history and Test Reports.

> Jenkins supports Maven for building and Testing a project in continuous integration.

Extent Reports
> Provides Step wise Result, capture Screen shots (for failed steps) and Graphical

Test Result Analytics etc..
————————————–
8) Selenium Automation Framework

Creating Selenium Automation Framework using Selenium WebDriver, Java, TestNG, Maven, Jenkins and Extent Reports….
> Create Maven Project and add all required dependencies
> Create Java packages to store Config, Object Repositories, Customized Commands, Reusable Functions etc…Supporting files…
> Create Test Scripts using those supporting files and Run Test Scripts
—————————————
Selenium Training Videos…

Follow me on social media: