{"id":24059622,"url":"https://github.com/yugal619/pytest_project","last_synced_at":"2026-05-11T12:37:15.073Z","repository":{"id":265895419,"uuid":"896816106","full_name":"yugal619/pytest_project","owner":"yugal619","description":"Demo on use of pytest for UI Automation using POM","archived":false,"fork":false,"pushed_at":"2025-01-12T03:41:18.000Z","size":25770,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T13:27:30.566Z","etag":null,"topics":["automation","framework","pom","project","pytest","pytest-xdist","python","screenshot","selenium","testing"],"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/yugal619.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":"2024-12-01T11:38:30.000Z","updated_at":"2025-01-12T03:41:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"cdcd4206-0967-4155-bf39-fe9038747949","html_url":"https://github.com/yugal619/pytest_project","commit_stats":null,"previous_names":["yugal619/pytest_project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yugal619/pytest_project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yugal619%2Fpytest_project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yugal619%2Fpytest_project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yugal619%2Fpytest_project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yugal619%2Fpytest_project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yugal619","download_url":"https://codeload.github.com/yugal619/pytest_project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yugal619%2Fpytest_project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32894945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["automation","framework","pom","project","pytest","pytest-xdist","python","screenshot","selenium","testing"],"created_at":"2025-01-09T06:15:32.064Z","updated_at":"2026-05-11T12:37:15.054Z","avatar_url":"https://github.com/yugal619.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# 🚀 Python Selenium Automation Framework (Pytest + POM Model)\n\n## Project Overview\nThis is a robust UI Test Automation Framework built using Python, Pytest, and Selenium. The project follows the Page Object Model (POM) design pattern to ensure code reusability, readability, and maintainability.\n\n## Test cases are automated for the sample website:\n🔗 [Website link](https://testpages.eviltester.com/styled/index.html)\n\n## Key Features :\n🛠️ Python + Pytest Framework: Leveraging the power of Pytest for structuring and executing test cases.\n\n📄 Page Object Model (POM): Ensures clean and maintainable code by separating page interactions from test scripts.\n\n🧪 Parameterized Fixtures: Used to pass test data dynamically, enabling better test coverage.\n\n🏷️ Pytest Markers: Implemented custom markers (e.g., smoke, regression, etc.) for selective test execution.\n\n📸 Screenshot Mechanism: Automatically captures screenshots for failed test cases for debugging purposes.\n\n📋 Logging Mechanism: Integrated loggers to capture detailed logs of test execution.\n\n📊 HTML Test Report: Pytest-HTML/Allure used to generate professional test execution reports.\n\n## Tech Stack\n\n- Programming Language: Python\n\n- Test Framework: Pytest\n\n- Browser Automation: Selenium\n\n- Design Pattern: Page Object Model (POM)\n\n- Reporting: Allure Reports / Pytest-HTML\n\n- Logging: Python's Logging Module\n\n## Installation and Setup\nFollow these steps to set up and execute the project on your local machine:\n\n## Prerequisites\nPython 3.8+\nGit\n\n1. Clone the Repository\n   ```\n   git clone https://github.com/yugal619/pytest_project.git\n\n   cd \u003cYOUR_PROJECT_NAME\u003e\n   ```\n3. Install Dependencies\n\nInstall all required packages listed in requirements.txt:\n\n```pip install -r requirements.txt```\n\n\n3. Run Test Cases\nExecute test cases using Pytest:\n```\npytest tests/ --html=reports/report.html --self-contained-html\n```\nRun Specific Tests:\n\n```\npytest -m \"smoke\"          # Run tests marked as smoke\npytest -k \"home_page\"      # Run tests containing 'home_page' in name\n```\n\n## Contributing\nContributions are welcome! If you have suggestions or ideas to enhance the framework, feel free to create a Pull Request.\n\n## Contact\n\n- 📧 Email: yugal.sinha619@gmail.com\n- LinkedIn: https://www.linkedin.com/in/yugal-sinha-629941124/\n\n### SEO Optimized Keywords\nTo ensure visibility on search engines like Google:\n\nPython Selenium Automation Framework\n\nPytest Framework with POM\n\nSelenium Test Automation\n\nScreenshot Mechanism in Pytest\n\nTest Reporting with Pytest-HTML and Allure\n\nAutomated UI Testing using Python\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyugal619%2Fpytest_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyugal619%2Fpytest_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyugal619%2Fpytest_project/lists"}