Welcome to the Exciting world of Selenium


In today's world, most of the applications are web-based applications which can be accessed through different browsers. Using Selenium, we can automate all the possible actions that users do like clicking a button, entering text, selecting a value from dropdown and many more.

Here is a step by step plan for getting started with Selenium. We have many examples (and will keep adding) which helps you to learn, practice and became an expert in automation using selenium and prepared to implement a framework for your project.

Lets Get Started with Selenium Webdriver

Selenium is a web Automation tool which can be used to automate web browsers across many browsers and operating systems.

Before jumping onto selenium in details, you should have a minimal knowledge of Java as going forward all the examples will be using java as programming language and near future we will add other languages for scripting and Basic knowledge on HTML will help to create effective scripts and construct reliable css/xpaths.

If you're not expert in java language or new to it, nothing to worry much, but your progress depends on how comfortable your are with the programming language that you choose.

In order to write our test scripts, you may need an IDE / editor. There are many open source editors available in the market. Here we will be mostly using Eclipse/IntelliJ.
## Prerequisites and Installations ##
1. Download and Install Java 8 (you’ll need to have Java 8 to use Selenium 3)
2. Download IDE / editor (To Create and run your tests)
3. Download Selenium Webdriver.
That's It... You're Done.

Before starting to write your first test, know more details about selenium - Introduction to selenium And also Why Automation Testing is required? to know why we go automation (If you are new to automation).

Starting with Selenium, Let us first have a look at - Basic HTML concepts required for Selenium . You might be wondering why I should learn HTML?. The basic structure of an HTML document which includes Tags, Attributes and Elements.

There are many web browsers available in the market like Chrome, Firefox, Internet Explorer, Edge, Safari etc. To start with, first choose one browser from list of the browsers that you want to focus on executing your tests.

Set Up Selenium WebDriver

  • Set Up Java
  • Set Up Eclipse
  • Set Up WebDriver Client
  • Configure Eclipse with WebDriver
  • First Test Case with FF Browser
  • Running Test on GeckoDriver
  • Running Test on Safari Browser
  • Running Test on Chrome Browser
  • Running Test on IE Explorer
  • Internet Explorer Driver Server
  • Challenges with IE browser in Selenium WebDriver


WebDriver Commands

  • Browser Commands
  • Browser Navigation Commands
  • WebElement Commands
  • FindElements Commands
  • Check Box & Radio buttons
  • Drop Down & Multiple Selects
  • WebTable Handling


Locators & XPath

  • Use Of Browser Inspector
  • FireBug & FirePath
  • HTML Locators
  • Element Locator for WebDriver
  • XPath Helper Plug-in for Chrome
  • Fire-IE-Selenium – Coming Soon
  • Effective XPath



Selenium Tutorial – WebDriver Intermediate

Java Advance

  • Modifiers – Access Modifiers
  • Modifiers – Non Access Modifiers
  • Inheritance
  • Polymorphism
  • Exception Handling


WebDriver API

  • Selenium WebDriver Architecture  Coming Soon
  • Concept of Polymorphism in Selenium  Coming Soon
  • Encapsulation in Selenium WebDriver – Coming Soon


Switches Alerts & Windows

  • Wait Commands
  • Smart Waits
  • Switch Commands
  • Handling Alerts
  • Different types of Alerts
  • Handling Multiple Windows
  • Handle Unexpected Alert – – Coming Soon
  • Expected Condition Wait – – Coming Soon
  • Handling IFrames using WebDriver
  • Interacting with elements inside IFrame


Action Class

  • Drag & Drop Actions
  • Mouse Hover Action
  • RightClick, Double Click & Tool Tip – Coming Soon
  • KeyBoard Events – Coming Soon
  • Robot Class – Keyboard Events – Coming Soon


Tips & Tricks

  • Headless browser testing
  • Use Of AutoIT
  • HTTP Authentication
  • How to handle Proxy in Selenium WebDriver – Coming Soon
  • How to Handle Untrusted Certificate in Selenium or How to handle SSL Certificate in Selenium – Coming Soon
  • Find all the Links
  • Refresh Browser in Different Ways
  • Junit Test with Selenium WebDriver
  • Capturing ScreenShot & Entire Page ScreenShot – Coming Soon
  • Upload & Download files – Coming Soon
  • Selenium of Exceptions and handling – Coming Soon



Selenium Tutorial – WebDriver Advance

Data Driven Technique with Apache POI (EXCEL)

  • Download Apache POI
  • Add Apache POI
  • Test Case with Excel


Log4j Logging and its advance Usage

  • Log4j Introduction
  • Download Log4j
  • Add Log4j Jars
  • Test Case with Log4j Logging
  • Log4j Manager
  • Loggers
  • Appenders


TestNG Framework

  • Introduction
  • Install TestNG
  • First Test Case with TestNG
  • TestNG Test Suite
  • Annotations, Groups & DependOn
  • Test Cases Prioritizing & Sequencing
  • TestNG Reporters & Asserts
  • TestNG Parameters & Data Provider
  • TestNG DataProvider with Excel
  • Multi Browser & Parallel Testing
  • TestNG Listeners


DataBase Connections

  • Database connection- Coming Soon
  • Database Testing in Selenium using MSAccess and Oracle – Coming Soon


Tips & Tricks

  • Finding broken links in Selenium automation
  • Flash/Flex Testing
  • Custom FireFox Profile
  • Java Script & Selenium
  • Scroll Element into View
  • Selenium WebDriver Event Listener
  • @CacheLookUp in PageObject


Selenium Tutorial – Automation Framework

Hybrid Automation Framework

  • Automation Framework
  • Page Object Model
  • Modular Driven Framework
  • Functions Parameters
  • Constant Variables
  • Data Driven Framework
  • Log4j Logging
  • TestNG Reporting
  • User Defined Function
  • Object Repository
  • Exception Handling
  • Hybrid Automation Framework


Keyword Driven Framework

  • Keyword Driven Framework – Introduction
  • Steps to Set up Keyword Driven Framework
  • Identify and Implement Action Keywords
  • Set Up Data Engine – Apache POI (Excel)
  • Use of Java Reflection Class
  • Set Up Java Constant Variables
  • Object Repository
  • Test Suite Execution Engine
  • Log4j Logging
  • Exception Handling
  • Test Result Reporting
  • Data Driven Technique
  • Framework for Manual Testers
  • Project Code Base


Framework Designing Principles

  • Factory design principle in Selenium Tests
  • Object Repository using Properties file
  • Object Repository for Selenium using JSON
  • Page Object Factory
  • Hard Asserts & Soft Asserts – Coming Soon



Continuous Integration

Maven

  • Maven Introduction
  • Install Maven in Eclipse IDE
  • Install Maven on Windows
  • Install Maven on Mac
  • How to Create a New Maven Project
  • How to Create a New Maven Project in Eclipse
  • Configure Selenium Continuous Integration with Maven


Jenkins

  • Jenkins Introduction – Coming Soon
  • Selenium Integration with Jenkins – Coming Soon

Search this documentation

Popular Topics

No labels match these criteria.

Featured Pages

There is no content with the specified labels

  • No labels