Skip to content

Repository files navigation

🧪 Automation Testing – Selenium & TestNG

This repository contains a complete automation test suite for the website:

🔗 https://practicetestautomation.com/

The project uses Selenium WebDriver, Java, and TestNG, implemented using the Page Object Model (POM) design pattern for clean, scalable, and maintainable automation.


🚀 Automated Test Coverage

🏠 Home Page Tests

  • Verify page title
  • Validate menu navigation
  • Test Practice links
  • Verify footer and header elements

📝 Blog Page Tests

  • Validate blog page navigation
  • Open blog articles
  • Validate article titles
  • Check pagination (if available)

📩 Contact Page Tests

  • Fill and submit contact form
  • Validate required field messages
  • Verify success message
  • Validate email/text field behavior

🧪 Practice Module Tests (Main Website Features)

🔐 Login Testing

  • Valid login
  • Invalid username
  • Invalid password
  • Empty fields
  • Login success page validation

⚠️ Exception Testing

  • Button appears after delay
  • Button becomes enabled
  • Dynamic element changes
  • Handling stale element exceptions

🔘 UI & Button Testing

  • Main practice buttons
  • Navigation redirection
  • Validation of headers & labels

🔔 Alerts Testing

  • Simple JS alerts
  • Confirm alerts
  • Prompt alerts
  • Validate alert text

📊 Tables Testing

  • Read table rows & columns
  • Validate specific cell values
  • Extract text from table
  • Search functionality

🛠️ Tech Stack

Component Tool
Language Java
Automation Framework Selenium WebDriver
Test Framework TestNG
Design Pattern Page Object Model (POM)
Build Tool Maven
Reporting TestNG Reports

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors