This project showcases a complete automation suite using Java, Selenium WebDriver, TestNG, and OpenAI API. It includes 3 independent tasks:
Given a search keyword:
- Performs web scraping on 5 different informational websites
- Extracts content from selected tags (
<p>,<h1>,<h2>) - Sends raw content to OpenAI API for AI-powered summarization
- Generates a structured PDF report summarizing the collected data
Seamless integration of Selenium, AI summarization, and PDF reporting
- 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
Given a product keyword:
- Performs automated search on 3 different e-commerce platforms
- Extracts product names and prices from each source
- Compares prices across platforms
- Outputs a comparison report (console log)
Helps visualize the price differences for the same product across multiple online stores.
- Java
- Selenium WebDriver
- TestNG (parallel test execution)
- OpenAI API (text summarization)
- iText (PDF generation)
- Maven (build and dependency management)