Skip to content

devendraDPI/web-automation-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Automation Explorer

Description / Overview

Web Automation Explorer is a basic Selenium automation project built using Java, Selenium WebDriver, Maven, and TestNG. The project automates a simple login flow on a demo website to demonstrate core web automation concepts such as locators, waits, and structured test execution.

Features

  • Selenium WebDriver-based browser automation.
  • Automated login functionality.
  • Centralized setup and teardown using a base test class.
  • Multiple locator strategies (ID, XPath, CSS Selector).
  • Synchronization using waits.
  • Test execution using TestNG.
  • Maven-based project structure.

Concepts Applied

  • Programming Concepts: variables, operators, control flow.
  • OOP Concepts: classes, inheritance, encapsulation.
  • Selenium Concepts: WebDriver, locators, waits.
  • Testing Concepts: assertions, test lifecycle, test suites.

Project structure

.
|-- pom.xml
|-- src
|   |-- main
|   |   `-- java
|   |       `-- selenium
|   |           `-- explorer
|   `-- test
|       `-- java
|           `-- selenium
|               `-- explorer
|                   |-- base
|                   |   `-- BaseTest.java
|                   `-- tests
|                       `-- LoginTest.java
`-- testng.xml

11 directories, 4 files

Installation & Setup

  1. Prerequisites

    • Java 25
    • Maven
    • Google Chrome
    • Any IDE or terminal java commands
  2. Clone the repository

git clone https://github.com/devendraDPI/web-automation-explorer.git
  1. Navigate to the project folder
   cd web-automation-explorer
  1. Run the test
    mvn clean test

Video

  • See how the Web Automation Explorer works in this video walkthrough.

YouTube

License

  • MIT License: See License file for details.

About

Selenium-based web automation project using Java, Maven, and TestNG. Automates a login flow to demonstrate core concepts such as WebDriver setup, multiple locator strategies, waits for synchronization, and structured test execution following best practices.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages