Selenium with Java – Syllabus

Selenium with Java – Syllabus, Java Programming for Selenium, TestNG Framework for Selenium, Selenium Automation Framework, and Live Project.

According to Selenium’s official website (selenium.dev), Primarily Selenium is for automating web applications for testing purposes but is certainly not limited to just that. Web-based administration tasks can also be automated as well.

Selenium was developed for supporting Functional & Regression Testing of Web Applications at System Test and Acceptance Test Levels.

Selenium is not an all-inclusive Test tool; it requires some third-party plug-ins and frameworks to broaden the scope of testing.

Previous Tutorial                                      Next Tutorial

Selenium with Java – Syllabus

  • Selenium supports six programming languages to write and execute test cases, we can select any one of those languages.
  • SeleniumTest Environment depends on the Programming platform that we selected.
  • Suppose we selected Java for Selenium, then our Selenium Test Environment can have Eclipse IDE, Java, Selenium WebDriver, TestNG, Maven, etc,

Modules in ‘Selenium and Java’

1. Java Programming for Selenium

2. Selenium WebDriver

3. TestNG Framework for Selenium

4. Automation Framework


1. Java Programming for Selenium

1. Java Programming Environment

  1. Java Environment Setup (Download & Install, Set Environment Variable, Download & Install Eclipse IDE)
  2. Java Keywords
  3. Java Identifiers (Packages, Classes, Objects, Methods, Variables, etc,)
    Ex: int num=100;
  4. Java Basic Syntax
  5. Java Programming Structure

2. Java Language Elements/Fundamentals

  1. Java Comments
  2. Java Data Types
  3. Java Variables
  4. Java Operators
  5. Java Control Flow
    • Decision making/Conditional statements
    • Loop Statements
    • Branching Statements

3. Java Specialized Concepts

  1. Java String Handling
  2. Java Data Structures
  3. Java IO
    • Read User Input
    • Write Program’s Output
    • Read Files
    • Write Files
  4. Java Exception Handling

4. Object-Oriented Programming

  1. Java Classes
  2. Java Objects
  3. Java Methods
    • Built-in Methods
    • User-Defined Methods
  4. Java Constructors
  5. Java Object-Oriented Programming Principles
    • Inheritance
    •  Polymorphism
    • Abstraction
    • Encapsulation

II. Selenium WebDriver

  1. Web Elements/HTML Elements
  2. Inspecting Web Elements (Using a Browser)
  3. Element Locators – To locate/recognize/identify elements in web pages (Using HTML Locators)
  4. Performing actions on elements (Using WebDriver Commands/Methods)
  5. Page Object Model (Creating Object Repositories)
  6. Waits
  7. Writing Test Cases
    • Locating Elements and Perfuming Actions on Elements (Using Element Locators and Selenium WebDriver commands)
    • Creating Object Repositories (Using POM)
    • Handling Data in Test Cases – Using Programming Data Types & Variables (Java)
    • Data-Driven Testing – Using Programming Loop statements & File handling
    • Test steps Reusability – Java Programming Methods
    • Handling Run-time errors – Using Programming Exception handling code
    • Inserting Verification points & Reporting Results – using TestNG framework Assert commands
    • Batch Testing using TestNG framework

III. TestNG Framework for Selenium

Create Test batches
Prioritize Test cases
Execute Test Batches
Inserting Verification Points & Generate test Reports


IV. Hybrid Framework – Automation Framework

  1. Create Selenium Test Environment using Maven
  2. Create a well-defined folder structure for storing automation resources
  3. Create automation resources and store
  4. Create Test cases and test batches
  5. Execute Test batches and Generate Test reports
  6. Maintain Automation Resources

Software used in Selenium Test Environment

  1. Eclipse IDE
  2. Java
  3. Selenium WebDriver
  4. TestNG
  5. Maven
  6. Extent Reports

Selenium Tutorial for Beginners

Selenium Complete Course Videos

Follow me on social media: