Tutorials Hut

  • Selenium WebDriver

       Selenium Introduction
       Benefits of Selenium
       Four components of Selenium
       Difference b/w Selenium IDE, RC & WebDriver
       Selenium WebDriver Architecture
       Background when user execute selenium code
       Download and Install Java
       Download and Install Eclipse
       Download Selenium WebDriver
       Selenium WebDriver Locators
       Selenium - Launch Browser
       Selenium WebDriver Waits
       Selenium- Implicit wait
       Selenium- Explicit wait
       Selenium- Fluent wait
       Selenium- Commonly used commands
       Selenium- findElement & findElements
       Selenium- Selenium-Handling check Box
       Selenium- Handling Radio button
       Selenium- Handling drop down
       Selenium- Take Screenshot
       Selenium- Handle Web Alerts
       Selenium- Multiple Windows Handling
       Selenium- Handle iframes
       Selenium- Upload a file
       Selenium- Download a file
       Selenium- Actions Class Utilities
       Selenium- Mouse Actions
       Selenium- Keyboards Events
       Selenium- Handle mouse hover Actions
       Selenium- Drag and Drop
       Selenium- Scroll a WebPage
       Selenium- Context Click / Right Click
       Selenium- Double Click
       Selenium- Desired Capabilities
       Selenium- Assertions
       Selenium- Exceptions and Exception Handling
       Selenium- Difference b/w driver.close() & driver.quit()
       Selenium- difference b/w driver.get() & driver.navigate()
       Selenium- JavascriptExecutor
       Selenium- Read excel file using Fillo API
       Selenium- Database Testing using Selenium
       Selenium- Read & write excel file using Apache POI
       Selenium- Read and Write csv file in Selenium
       Selenium- Dynamic Web Table Handling
       Selenium- Maven Integration with Selenium
       Selenium- Set up Logging using Log4j
       Selenium-Implement Extent Report



  • Selenium WebDriver Download and Installation

    This article will present you with a complete idea about selenium WebDriver download and installation.

    Selenium Webdriver Download and Installation

    There are three steps which needs to be followed for selenium WebDriver Installation

      1. Download and Install Java
      2. Download and Install Eclipse or any Java IDE 
      3. Download Selenium WebDriver

    Download and Install Java

    1. Download and install the JDK (Java Software Development Kit) and Click here for download.
    Selenium- Java Installation 1

    2. Accept the license agreement and select the ‘JDK’ file to download based on the system requirement.

    3. Once installation is complete, Open command prompt and type “java -version” and hit enter , you will see the installed Java version on your command prompt.

    Download and Install Eclipse 

      1. Click here to download the  latest version of “Eclipse IDE for Java Developers”  and make sure to select the correct files based on your system requirement.

    2. You should be able to download an exe file named “eclipse-inst-jre-win64” for Setup and double click on the .exe file 

    Selenium- Eclipse Installation 3
    Selenium- Eclipse Installation 4

    3. After successful completion of the installation, a window will appear.Click on Launch Button.

    Selenium- Eclipse Installation 6

    5. To configure the workspace, select a location where you want to keep all of your Selenium projects or files and click on Launch button.

    6. It will launch the default interface of Eclipse IDE.

    Download Selenium WebDriver

    1. Click here for download Selenium WebDriver for Java Client Driver  and download driver for JAVA language.
    Selenium Webdriver installation 1

    2. Extract the files named “selenium-java-3.141.59”. which consist of all the required jar files for creating the test scripts in Java.

    a) Configure Libraries in Eclipse IDE:

    1. Launch Eclipse and Create Java Project by navigating through File > New > Java Project. 
    Selenium- Configure Libraries in Eclipse - Create Project -1

    2. Enter the Project Name and let’s say ‘MyFirstProject’  (you can give any name as per your convenience).

    3. Select other fields as per below screen and click on finish.

    Selenium- Configure Libraries in Eclipse - Create Project -2

    b) Create a Package

      1. Right click on created Project and select New – Package
      2. Enter Package name as “myPackage”
    Selenium- Configure Libraries in Eclipse - Create Package -2

    c) Create a class

      1. Right click on created Project and Select  New – Class
      2. Enter the Class Name and click on Finish. Lets say  Class Name is  “Class1”.
    Selenium- Configure Libraries in Eclipse - Create Class 1
    Selenium- Configure Libraries in Eclipse - Create Class 2

    d) Add external Selenium Jars 

      1. Right click on the newly created project and Click on  Build Path > Configure Build Path’.
    Selenium- Configure Libraries in Eclipse -Add External Jars 1

    2. Select Libraries Tab and click on ‘Add External Jars’

    3. Select all the jars as per below images and click on Open

    4. Add Jars present in Parent folder and jar which are present in lib sub folder

    5. Click on the “Apply” and then “OK” button .

    so  Installation and configuration part of Selenium is completed.




  • Selenium WebDriver Tutorials

       Selenium Introduction
       Benefits of Selenium
       Four components of Selenium
       Difference b/w Selenium IDE, RC & WebDriver
       Selenium WebDriver Architecture
       Background when user execute selenium code
       Download and Install Java
       Download and Install Eclipse
       Download Selenium WebDriver
       Selenium WebDriver Locators
       Selenium - Launch Browser
       Selenium WebDriver Waits
       Selenium- Implicit wait
       Selenium- Explicit wait
       Selenium- Fluent wait
       Selenium- Commonly used commands
       Selenium- findElement & findElements
       Selenium- Selenium-Handling check Box
       Selenium- Handling Radio button
       Selenium- Handling drop down
       Selenium- Take Screenshot
       Selenium- Handle Web Alerts
       Selenium- Multiple Windows Handling
       Selenium- Handle iframes
       Selenium- Upload a file
       Selenium- Download a file
       Selenium- Actions Class Utilities
       Selenium- Mouse Actions
       Selenium- Keyboards Events
       Selenium- Handle mouse hover Actions
       Selenium- Drag and Drop
       Selenium- Scroll a WebPage
       Selenium- Context Click / Right Click
       Selenium- Double Click
       Selenium- Desired Capabilities
       Selenium- Assertions
       Selenium- Exceptions and Exception Handling
       Selenium- Difference b/w driver.close() & driver.quit()
       Selenium- difference b/w driver.get() & driver.navigate()
       Selenium- JavascriptExecutor
       Selenium- Read excel file using Fillo API
       Selenium- Database Testing using Selenium
       Selenium- Read & write excel file using Apache POI
       Selenium- Read and Write csv file in Selenium
       Selenium- Dynamic Web Table Handling
       Selenium- Maven Integration with Selenium
       Selenium- Set up Logging using Log4j
       Selenium-Implement Extent Report

















  • Leave a Reply

    Your email address will not be published. Required fields are marked *