Skip to content

emrullahayaz9/web_automation_with_selenium_java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧪 Java Selenium Automation Suite

(Login Testing • AI Summarization & PDF • Price Comparison)

This project showcases a complete automation suite using Java, Selenium WebDriver, TestNG, and OpenAI API. It includes 3 independent tasks:


📌 Tasks Overview

📄 Task 1: Web Content Summarization & PDF Reporting

Given a search keyword:

  1. Performs web scraping on 5 different informational websites
  2. Extracts content from selected tags (<p>, <h1>, <h2>)
  3. Sends raw content to OpenAI API for AI-powered summarization
  4. Generates a structured PDF report summarizing the collected data

Seamless integration of Selenium, AI summarization, and PDF reporting


✅ Task 2: Login Automation with Parallel Browser Execution

  • Automates login flow on a sample web app
  • Uses a Browser Factory design to support multiple browsers (Chrome and Firefox)
  • Tests run in parallel using TestNG XML configuration or thread pool
  • Verifies successful login using UI elements or redirection

🛍️ Task 3: E-commerce Price Comparison

Given a product keyword:

  1. Performs automated search on 3 different e-commerce platforms
  2. Extracts product names and prices from each source
  3. Compares prices across platforms
  4. Outputs a comparison report (console log)

Helps visualize the price differences for the same product across multiple online stores.


⚙️ Technologies Used

  • Java
  • Selenium WebDriver
  • TestNG (parallel test execution)
  • OpenAI API (text summarization)
  • iText (PDF generation)
  • Maven (build and dependency management)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages