{"id":28300148,"url":"https://github.com/otakmager/seleniumpomdatadriven","last_synced_at":"2026-04-28T12:02:42.372Z","repository":{"id":293603088,"uuid":"984521437","full_name":"otakmager/SeleniumPomDataDriven","owner":"otakmager","description":"Data-driven test automation framework using Selenium WebDriver, TestNG, and Apache POI. Tests various unit conversions from an online converter using a clean Page Object Model (POM) architecture, dynamic Excel data providers, structured logging, and ExtentReports.","archived":false,"fork":false,"pushed_at":"2025-05-16T06:32:22.000Z","size":235,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-18T18:46:58.512Z","etag":null,"topics":["automated-testing","data-driven-tests","java","page-object-model","qa-automation","selenium","selenium-java","selenium-webdriver","testng"],"latest_commit_sha":null,"homepage":"https://www.digitaldutch.com/unitconverter/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/otakmager.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-16T04:23:50.000Z","updated_at":"2025-05-16T06:32:25.000Z","dependencies_parsed_at":"2025-05-16T07:34:10.085Z","dependency_job_id":null,"html_url":"https://github.com/otakmager/SeleniumPomDataDriven","commit_stats":null,"previous_names":["otakmager/seleniumpomdatadriven"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/otakmager/SeleniumPomDataDriven","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otakmager%2FSeleniumPomDataDriven","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otakmager%2FSeleniumPomDataDriven/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otakmager%2FSeleniumPomDataDriven/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otakmager%2FSeleniumPomDataDriven/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/otakmager","download_url":"https://codeload.github.com/otakmager/SeleniumPomDataDriven/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otakmager%2FSeleniumPomDataDriven/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32379629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automated-testing","data-driven-tests","java","page-object-model","qa-automation","selenium","selenium-java","selenium-webdriver","testng"],"created_at":"2025-05-23T14:18:47.259Z","updated_at":"2026-04-28T12:02:42.360Z","avatar_url":"https://github.com/otakmager.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📊 SeleniumPomDataDriven\n\nThis project implements **data-driven test automation** for unit conversions using [https://www.digitaldutch.com/unitconverter/](https://www.digitaldutch.com/unitconverter/) as the system under test. The project uses **Selenium WebDriver** in Java with the **Page Object Model (POM)** architecture and integrates **TestNG** and **Excel-based Data Providers** to cover dynamic testing scenarios across various measurement units.\n\n\u003e ✅ Live base URL: [https://www.digitaldutch.com/unitconverter/length.htm](https://www.digitaldutch.com/unitconverter/length.htm)  \n\u003e 📦 GitHub Repo: [https://github.com/otakmager/SeleniumPomDataDriven](https://github.com/otakmager/SeleniumPomDataDriven)\n\n---\n\n## 🧱 Project Structure\n\n```\nSeleniumPomDataDriven/\n├── src/\n│   ├── main/\n│   │   └── java/\n│   │       ├── base/              # BaseTest \u0026 core setup\n│   │       ├── pageObjects/       # Page Objects\n│   │       ├── pageEvents/        # Page Events (logic layer)\n│   │       ├── keyword       \t   # Action \u0026 validation Keywords\n│   │       └── utils/             # ExcelUtils, ReportManager, Constants\n│   ├── test/\n│   │   └── java/\n│   │       └── testCases/\n│   │           ├── LengthConverterTest.java\n│   │           ├── MassConverterTest.java\n│   │           ├── TimeConverterTest.java\n│   │           └── UserInterfaceTest.java\n│   └── resources/\n│       └── datasets.xlsx          # Test data for each converter sheet\n├── logs/                          \n│   └── app.log                    # Test log\n├── reports/                       # HTML reports generated via ExtentReports\n├── screenshots/                   # Failure screenshots (auto-captured)\n├── testng.xml                     # Master suite file\n└── README.md\n```\n\n---\n\n## ✅ Features\n\n- 💡 **POM (Page Object Model)** based design for maintainability and reuse\n- 🧪 **Data-Driven Testing** using `.xlsx` files via Apache POI\n- 🧾 **HTML Reports** using ExtentReports\n- 📸 **Screenshot on Failure**\n- ⚙️ **Logger Integration** with `log4j2` for test activity traceability\n\n---\n\n## 🚀 How to Run\n\n### 1. Clone the Repository\n```bash\ngit clone https://github.com/otakmager/SeleniumPomDataDriven.git\n```\n\n### 2. Open in IntelliJ IDEA\n- Requires: **IntelliJ IDEA Community Edition 2024.3.5**\n- Uses: **Java JDK 17**\n- Built-in: **TestNG plugin** (no external Maven setup required)\n\n### 3. Run All Tests\n- Right-click `testng.xml` → **Run 'testng.xml'**\n- HTML report will be created in the `/reports/` folder\n\n---\n\n## 📦 Test Coverage\n\nEach test class corresponds to a category of unit conversion or interaction:\n\n| Test Class                | Description                      | Sheet in Excel       |\n|---------------------------|----------------------------------|----------------------|\n| [`LengthConverterTest`](https://github.com/otakmager/SeleniumPomDataDriven/blob/main/src/test/java/testCases/length/LengthConverterTest.java)     | Convert between length units     | `length`             |\n| [`MassConverterTest`](https://github.com/otakmager/SeleniumPomDataDriven/blob/main/src/test/java/testCases/mass/MassConverterTest.java)       | Convert between mass units       | `mass`               |\n| [`TimeConverterTest`](https://github.com/otakmager/SeleniumPomDataDriven/blob/main/src/test/java/testCases/time/TimeConverterTest.java)       | Convert between time units       | `time`               |\n| [`UserInterfaceTest`](https://github.com/otakmager/SeleniumPomDataDriven/blob/main/src/test/java/testCases/ui/UserInterfaceTest.java)       | Basic smoke tests for UI access  | *(no data source)*   |\n\n---\n\n## 📊 Test Data Source\n\nAll test inputs are stored in [`src/test/resources/datasets.xlsx`](https://github.com/otakmager/SeleniumPomDataDriven/raw/refs/heads/main/src/test/resources/datasets.xlsx) with dedicated sheets per category.\n\nEach sheet has the format:\n```\nValue1    |   fromUnit         |   Value2    |   toUnit\n------------------------------------------------------------\n12.5      | kilometers [km]    | 12500       | meters [m]\n...\n```\n\nThe `ExcelUtils` dynamically reads rows and feeds them into tests via `@DataProvider`.\n\n---\n\n## 📜 Logs \u0026 Reports\n\n- ✅ Logs written to: [`logs/app.log`](https://github.com/otakmager/SeleniumPomDataDriven/blob/main/logs/app.log)\n- ✅ HTML test report: [`reports/test-report.html`](https://github.com/otakmager/SeleniumPomDataDriven/blob/main/reports/test-report.html)\n- ✅ Screenshots on failure: [`screenshots/`](https://github.com/otakmager/SeleniumPomDataDriven/tree/main/screenshots)\n\nLog includes detailed info such as:\n- Test start markers per method\n- Excel data loading feedback\n- Element interaction and assertion steps\n\n---\n\n## 🔧 Technologies Used\n\n- Java 17\n- Selenium WebDriver\n- TestNG\n- Apache POI (Excel reading)\n- ExtentReports\n- log4j2\n- WebDriverManager\n- IntelliJ IDEA CE 2024.3.5\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotakmager%2Fseleniumpomdatadriven","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fotakmager%2Fseleniumpomdatadriven","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotakmager%2Fseleniumpomdatadriven/lists"}