SELENIUM  WEBDRIVER

 

  • SELENIUM | Introduction

    • Selenium Introduction
    • Four Components of Selenium
    • Advantages of Selenium Web Driver
    • Limitations of Selenium
    • Selenium Web Driver language support
    • Selenium WebDriver Browser support
    • Selenium WebDriver Operating Sys support
  • SELENIUM | Eclipse Set up

    • Download Install for Eclipse Setup
    • Download Selenium Webdriver
    • Add Selenium Jar Files into Eclipse
    • Download Third Party Browser Driver e.g(Gecko, Chrome etc…)
  • SELENIUM | First Script

    • Prerequisites for writing Selenium WebDriver Script
    • Scenario’s in Selenium script
    • Example First Selenium WebDriver script
  • SELENIUM | Firefox Browser

    • How to Launch Firefox Browser using Selenium
    • What is GeckoDriver
    • Download Geckodriver.exe
    • Example of Launch Firefox Browser using geckodriver
  • SELENIUM | Chrome Browser

    • How to Launch Chrome / Safari Browser
    • Download ChromeDriver.exe
    • Example of Launching Chrome / Safari Browser
  • SELENIUM | IE Explorer

    • Launch IE (Internet Explorer) / Edge Browser
    • Download IEDriverServer.exe
    • Example Launching IE Explorer / Edge Browser
  • SELENIUM | HtmlUnitDriver

    • What is a headless browser in Selenium?
    • Types of Headless Driver’s
    • Example of Launching headless browser’s
  • SELENIUM | Browser Commands

    • How to Create WebDriver instance to Handle
    • Browser Commands in Selenium
      • Get Command
      • Get Title
      • Get Text
      • Get Current URL Command
      • Get Page Source Command
      • Close Command
      • Quit Command
      • Maximize a browser
      • Minimize a browser
    • Example of Browser Commands
  • SELENIUM | Navigation Commands

    • Navigation Commands in Selenium
      • Navigate To Command
      • Forward Command
      • Back Command
      • Refresh Command
    • Example of Navigation Commands
  • SELENIUM | WebElement Commands

    • What is WebElement
    • WebElement Syntax
      • Clear Command
      • SendKeys Command
      • Click Command
      • isDisplayed Command
      • isEnabled Command
      • isSelected Command
      • Submit Command
      • GetText Command
      • getTagName Command
      • getAttribute Command
      • getCssValue Command
      • getSize Command
      • getLocation Command
    • Example of WebElement Commands
  • SELENIUM | Find Element / Elements

    • Introduction of findElement() / findElements()
    • Syntax of findElement() / findElements()
    • Example of findElement() / findElements()
    • Difference between findElement() and findElements() method
  • SELENIUM | Locators

    • Find Locator methods in Selenium
      • By ID
      • By XPath
      • By Name
      • By ClassName
      • By TagName
      • By LinkText
      • By PartialLinkText
      • By cssSelector
    • Example of Find Locators in Selenium
  • SELENIUM | Checkbox / Radio Button

    • Radio Button / Checkbox HTML code
    • Below Verify methods used in Radio Button & Checkbox
      1. isDisplayed()
      2. isEnabled()
      3. isSelected()
    • Example of Verify Methods of Checkbox / Radio button
    • Example of Select All Checkboxes
  • SELENIUM | DropDown

    • Dropdown Html Code
    • Code to Select Dropdown
    • Methods to Select Dropdown option
      1. selectByVisibleText Method.
      2. selectByIndex Method.
      3. selectByValue Method.
    • Methods to De-Select Dropdown option
      1. deselectByVisibleText Method.
      2. deselectByValue Method.
      3. deselectByIndex Method.
      4. deselectAll Method.
      5. isMultiple Method.
    • Example of Dropdown with Select / De-Select / isMultiple Method
  • SELENIUM | Dynamic WebTable

    • What Is Web Table ?
    • Web Table Types
    • Web Table HTML code
    • Example how to handle Web Table using Selenium
  • SELENIUM | Calendar Handling

    • Explain Date Picker Calender
    • Example Calendar Date Picker Handle using Selenium
  • SELENIUM | Assert and Verify

    • Verify / Assert Text Present in Web Page
    • Verify / Assert Element Present in Web Page
    • Example of Verify / Assert
  • SELENIUM | Absolute Relative XPath

    • What is Absolute / Relative xpath
    • Syntax for Absolute / Relative xpath
    • Difference between single ‘/’ or double ‘//’
    • Example of Absolute / Relative xpath in Selenium
  • SELENIUM | Wait Commands

    • Implicit Wait
    • Explicit Wait
    • Thread.sleep
    • WebDriverWait
    • PageLoadTimeout Command
    • SetScriptTimeout Command
    • FluentWait
  • SELENIUM | Window

    • How to Handle window using Selenium
    • GetWindowHandle Command
    • GetWindowHandles Command
    • SwitchTo Window Command
    • SwitchTo Frame Command
    • Example of Handle Newly open Window
  • SELENIUM | Alert and PopUp

    • What is Alert?
    • Alert operations in Selenium
    • accept()
    • dismiss()
    • getText()
    • sendKeys()
    • Example of Handle Alert and PopUp Using selenium
  • SELENIUM | Tab

    • Tab Introduction
    • Switch between two tabs using switchTo()
    • Switch between two tabs using sendKeys Actions
    • Example of Switch between two tabs using Actions
  • SELENIUM | iframe

    • What is Iframe?
    • Sample Code of iFrame
    • Identification of a iframe on WebPage
    • Switch to iFrame using Multiple ways
    • Example of Handle iframe in Selenium
  • SELENIUM | Drag And Drop

    • What is Drag and Drop
    • Drag and Drop using Action Class dragAndDrop Method
    • Drag and Drop using clickAndHold, moveToElement and release Method
    • Drag and Drop using dragAndDropBy and offset method
    • Example to perform Drag and Drop
  • SELENIUM | Mouse Hover Action

    • What is Mouse Hover?
    • Mouse Hover using Action Class
    • Example of Mouse Hover and Perform Click operation
  • SELENIUM | Right Click

    • Steps to Handle Right Click in Selenium Using Action Class
    • contextClick Method in Action Class
    • Example to Perform Right Click
  • SELENIUM | Double Click

    • Scenario’s to Perform Double Click on WebElement
    • Example of Double click on WebElement
  • SELENIUM | Tool Tip

    • Scenario’s to Handle Tooltip
    • How to Handle Tool Tip using Action class
    • Handle ToolTip using getAttribute()
    • Example of how to handle Tool Tip
  • SELENIUM | Keyboard Events

    • Handle Keyboard Keys using Action class
    • Handle Keyboard Keys using sendkeys chord
    • Handle Keyboard keys using Robot class
    • Example of How to Handle Keyboard Events using Selenium
  • SELENIUM | Robot Class

    • How to Create Object of robot class
    • Methods under Robot Class
    • Press Escape key from keyboard.
    • Handle Mouse Buttons Using Robot class.
    • Scroll Mouse Using Robot class.
    • Screen Capture Using Robot class.
  • SELENIUM | Screenshot

    • How to Capture Screenshot using Selenium
    • When / Why Need to Capture ScreenShot
    • Example of Capture Screenshot
  • SELENIUM | JavaScriptExecutor

    • What is JavaScriptExecutor
    • Syntax of JavaScriptExecutor
    • Example of JavaScriptExecutor
    • How to generate Alert Pop window in selenium
    • How to get innertext of the entire webpage in Selenium
    • How to navigate to different page using Javascript
    • How to enter value into textbox
    • How to click a button
    • How to refresh a window
    • How to get the text of a particular web element
    • How to get the title of the WebPage
    • How to scroll vertically for certain pixels
    • How to scroll till the bottom of the web page
    • How to scroll to a particular element
    • How to navigate back to page
    • How to navigate to forward page
  • SELENIUM | Scroll Page

    • What is a scrollbar?
    • Scroll Down and Scroll Up page using JavascriptExecutor
    • Scroll Down and Scroll Up page using Robot Class.
    • Scroll Down and Scroll Up page Using Actions Class.
    • Example of Scroll Page using Selenium
  • SELENIUM | Desired Capability (Marionette)

    • What is Desired Capability?
    • Use of Desired Capability
    • Types of Desired Capabilities Methods in Selenium
  • SELENIUM | Cookie

    • What is Cookie
    • Why we Handle Cookies in Selenium
    • Selenium WebDriver Commands For Handle Cookies
    • Example of Handle Cookies in selenium

Basic Overview of Selenium WebDriver

 

Four Components of Selenium:

  1. Selenium IDE.
  2. Selenium RC (Remote Control).
  3. Selenium Webdriver.
  4. Selenium Grid.

 

  • Advantages of Selenium Web Driver.
  • Limitations of Selenium.
  • Selenium Web Driver language support.
  • Selenium WebDriver Browser support.
  • Selenium WebDriver Operating System support.

 

  • Download Install for Eclipse Setup.
  • Download Selenium Webdriver.
  • Add Selenium Jar Files into Eclipse.
  • Download Third Party Browser Driver e.g(Gecko, Chrome etc…).

 

WebDrivers for different browsers: FirefoxDriver() for Firefox browser, ChromeDriver() for Google Chrome, SafariDriver() for Safari Browser, InternetExplorerDriver for Internet Explorer etc.

 

Browser Commands in Selenium: Get ,Get Title, Get Text, Get Current URL, Get Page Source, Close, Quit, Maximize, Minimize Commands.

 

Navigation Commands in Selenium:

  • Move back : Driver.Navigate().Back();
  • forward : Driver.Navigate().Forward();
  • Refresh page : Driver.Navigate().Refresh();

 

Types of Locator’s:

  • Id
  • ClassName
  • LinkText
  • PartialLinkText
  • Name
  • TagName
  • CssSelector
  • XPath