{"id":24549339,"url":"https://github.com/greatrifat/orangehrm-selenium-python","last_synced_at":"2025-03-16T12:34:25.219Z","repository":{"id":272050765,"uuid":"915022785","full_name":"greatrifat/OrangeHRM-Selenium-Python","owner":"greatrifat","description":"Automated testing for OrangeHRM using Selenium and Python unittest. Includes both data-driven and hardcoded test cases, with HTML reports and test data from Excel files.","archived":false,"fork":false,"pushed_at":"2025-01-17T15:30:42.000Z","size":238,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T12:34:13.128Z","etag":null,"topics":["html-report","orangehrm","selenium","test-case","test-report","unittest"],"latest_commit_sha":null,"homepage":"","language":"Python","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/greatrifat.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}},"created_at":"2025-01-10T19:52:17.000Z","updated_at":"2025-02-19T12:40:18.000Z","dependencies_parsed_at":"2025-01-16T18:36:10.335Z","dependency_job_id":"f7f4d6ac-e4ce-4552-a656-800459489e4b","html_url":"https://github.com/greatrifat/OrangeHRM-Selenium-Python","commit_stats":null,"previous_names":["greatrifat/orangehrm","greatrifat/orangehrm-selenium-python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greatrifat%2FOrangeHRM-Selenium-Python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greatrifat%2FOrangeHRM-Selenium-Python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greatrifat%2FOrangeHRM-Selenium-Python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greatrifat%2FOrangeHRM-Selenium-Python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/greatrifat","download_url":"https://codeload.github.com/greatrifat/OrangeHRM-Selenium-Python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243869398,"owners_count":20361006,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["html-report","orangehrm","selenium","test-case","test-report","unittest"],"created_at":"2025-01-23T00:15:13.572Z","updated_at":"2025-03-16T12:34:25.184Z","avatar_url":"https://github.com/greatrifat.png","language":"Python","readme":"# OrangeHRM Automation Testing\n\nThis repository contains automation testing scripts for the OrangeHRM web application using **Selenium**, **Python**, and **Unittest**. The project is structured into separate folders for data-driven tests and hardcoded tests.\n\n## Project Structure\n\n```bash \nOrangeHRM/\n│\n├── DataDrivenSeleniumOhrmPy_unittest/\n│   └── Contains scripts for data-driven testing using Excel files.\n│\n├── HardCodeSeleniumOhrmPy_unittest/\n│   └── Contains scripts for hardcoded test cases.\n│\n├── Test_Results_DD/\n│   └── Stores HTML reports for data-driven test results.\n│\n├── Test_Results_HC/\n│   └── Stores HTML reports for hardcoded test results.\n│\n├── TestCase_Ohrm.xlsx\n│   └── Excel file containing test cases for testing.\n│\n├── data.xlsx\n│   └── Sample login data for data-driven tests.\n│\n└── README.md\n```\n## Features\n\n- **Data-Driven Testing**: Automates login functionality using data from an Excel file.\n- **Hardcoded Tests**: Validates login functionality with predefined inputs.\n- **HTML Test Reports**: Generates comprehensive reports for test results.\n- **Python Selenium Automation**:\n  - Performs login with valid and invalid credentials.\n  - Handles elements dynamically (e.g., login, logout, error messages).\n\n## Prerequisites\n\nBefore running the tests, ensure you have the following installed:\n\n- Python 3.10 or later\n- Google Chrome browser\n- ChromeDriver\n- Required Python modules:\n  - `selenium`\n  - `openpyxl`\n  - `HtmlTestRunner`\n\nYou can install the necessary Python modules using:\n```bash \npip install selenium openpyxl HtmlTestRunner\n```\n\n## Usage\nRunning Hardcoded Test Cases\n1. Navigate to the HardCodeSeleniumOhrmPy_unittest folder.\n2. Execute the test script:\n\n```bash \npython test_script_name.py\n```\n\n## Viewing Test Reports\nTest results are stored in **Test_Results_DD/** for data-driven tests and **Test_Results_HC/** for hardcoded tests.\nOpen the HTML files in a browser to view detailed reports.\n\n## Contribution\nContributions are welcome! If you find any issues or have suggestions for improvement, feel free to create an issue or submit a pull request.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreatrifat%2Forangehrm-selenium-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreatrifat%2Forangehrm-selenium-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreatrifat%2Forangehrm-selenium-python/lists"}