January 19, 2019

Selenium WebDriver Tutorial



What is Selenium?
Selenium is portable open source automation testing framework for web applications and web based tasks. It is licensed under Apache 2.0. This tutorial will help you understand Selenium and its related tools. We will guide you step by step.
Audience:
This tutorial will help both: Beginners and Professionals. We will move step by step to make it more easy for starters..
Pre-Requisite:
You must be familiar with basic programming concepts. Selenium offers different languages but in this tutorial, we will explore Selenium with JAVA so, refresh Java. J Happy Learning!

What we’ll be learning:
What’s Selenium all about?
a.     Introduction to Selenium
Selenium IDE
a.     Installation of Selenium IDE
b.    Record your first script using Selenium IDE
c.     IDE Locating Strategies
JAVA for Selenium (Basics)
b.    Data Types and Variables
c.     Control Flow Statements
d.    Arrays
e.     Exception Handling
f.      IO Operations and File Handling
g.     Classes and Methods
h.    Inheritance
i.      Polymorphism
j.      Abstraction
k.    Encapsulation
l.      Constructors, Data Type Conversions, etc
m.  Interfaces
Selenium Webdriver (Basic)
b.    Write your First Test Script Using Webdriver
c.     Gecko driver
d.    Execute program with different browsers
e.     Locating Strategies
f.      Handling Elements (drop down, radio button, checklist, text box, space, enter,mouse hover, pagination, etc)
g.     Handling Operation on Web Elements (Page, Button, Link, Edit Box, Text Box, Drop Down Box, List Box, Combo Box, Radio Button, Check Box, Web Table and Frame Etc)
Selenium Webdriver (Advanced)
a.     Handling Calendar Selection - working with date pickers
b.    Handling Autocomplete
c.     Handling Capturing screenshots
d.    Handling Cooking
e.     Handling Mouse Operations
f.      Handling read/write in excel files
Reporting
a.     Extent Reports
Selenium and Test NG, JUNIT
a.     Brief Introduction of TestNG – TestNG Annotations
b.    Installation of TestNG in Eclipse IDE – Selenium WebDriver Tutorial
c.     Introduction of TestNG framework – Advantages of TestNG over Junit framework
d.    Use of JUnit Annotations in Selenium WebDriver Automation Script
e.     Introduction to JUnit Annotations – Learn JUnit annotations used for your Selenium WebDriver automation
Advanced Webdriver
a.     How to handle cookies in Selenium Webdriver
b.    How to handle date Time Picker in Selenium Webdriver
c.     How to handle Screen shots in Selenium Webdriver
d.    How to read/write excel files in Selenium Webdriver
Selenium Interview Questions







1 comment: