← All courses

Training

Selenium WebDriver with Java

Selenium WebDriver with Java

Selenium WebDriver is a web framework that permits you to execute cross-browser tests. This tool is used for automating web-based application testing to verify that it performs expectedly. Selenium WebDriver allows you to choose a programming language to create test scripts. For the purpose of this course, we shall be using Java.

Learning Outcome

By the end of the course, the learner shall have skill and understanding of the following:

  • Selenium Webdriver
  • Automating Web applications in all supported Browsers
  • Strategy to handle Rich Web UI using Advanced WebDriver
  • Selenium Grid
  • TestNG
  • Maven
  • ANT
  • Jenkins
  • Log4j
  • Test Execution reports
  • Cucumber
  • Data driven framework
  • Hybrid Framework
  • Page object Model Framework
  • DataBase testing with Selenium
  • Performance testing with Selenium
  • Framework Design from scratch

Prerequisites

  • Access to high speed internet
  • Webcam and microphone
  • Admin / root access for the OS
  • Ability to remote access using SSH
  • Basic understanding of how the file system works
  • Basic understanding of how the internet works
  • Programming experience in any language

Outline

This four 5 day course shall cover the following topics:

  1. Java
    1. Understand what different versions and forms of java are for:
      1. Java for application development
      2. Java for mobile app development
      3. Java for Web Application development
      4. Java as in integration tool
    2. Coding principles
      1. Algorithms
      2. Flow
      3. Logic
      4. Subroutines
      5. Dependencies
      6. Memory
    3. Coding in Jshell
      1. Hello World
      2. Mathematics operations
      3. Basic I/O
      4. Manipulation
      5. Expressions
      6. Variables
      7. Data Types
    4. Operators
    5. Conditions
    6. Loops
  2. Installation and environment
    1. Java and Maven
    2. Eclipse IDE
    3. Creating New Maven Project
    4. Configuring Maven Project
    5. Troubleshooting Project Issues
    6. Application under test
    7. Creating first Selenium test class
    8. Working on first test method
    9. Running TestNG test
    10. Debugging test problems
    11. Page elements and locators for Selenium
    12. WebElement
    13. WebDriver commands
    14. Invalid locators
    15. Verifications and assertions
    16. Basic Test
  3. TestNG
    1. TestNG Annotations Introduction
    2. Xml File
    3. Execution Order of TestNG Annotations
    4. Skipping Tests in TestNG
    5. Prioritise Tests in TestNG
    6. Assertion in TestNG : Verification & Validation
    7. TestCase Grouping in TestNG
    8. Set TestCase Dependency in TestNG
    9. Test Parameterisation Using testng.xml File
    10. DataProvider : Test Parameterization
    11. Listeners in TestNG
    12. Run Multiple TestNG Suites
    13. Reporting in TestNG
  4. WebDriver
    1. Implement First Selenium Script and Execute
    2. Execute Selenium with Different Browsers
    3. Difference in Close & Quit
    4. Invoke Browser Dynamically
    5. Import JavaDoc in Selenium Project
    6. Options Class in Selenium : FireFoxOptions & ChromeOptions()
    7. Architecture of Selenium WebDriver
    8. Waits in Selenium
    9. TimeOuts in Selenium
    10. Implicitly Wait in Selenium
    11. Explicit Wait in Selenium | Handle Ajax Calls in Selenium
  5. WebElement
    1. Locators in Selenium
    2. Find Element in Selenium
    3. Find Elements in Selenium
    4. Create XPath for WebElement
    5. Create Customised XPaths
    6. Create CSS Selector in Selenium
    7. Find Broken Link on WebPage
    8. Handle Frames in Selenium
    9. Check Visibility of Web-Element on Web-Page
    10. Extract Elements form Specific Part of WebPage
    11. Manage Drop Down in Selenium
    12. Handle Browser Windows/Tabs in Selenium
    13. Handle Alerts in Selenium
    14. KeyBoard & Mouse Events
    15. Handle AJAX Auto Suggestions
    16. JavaScript Executor in Selenium
  6. Practical Implementations
    1. Cucumber
    2. Automation and Testing
    3. Selenium Grid
    4. Parallel Test Execution
    5. Cross Browser Test
  7. Assessment

Practical, connected learning

My wider training approach brings hands-on implementation and systems thinking together, connecting technology with real operational needs.