qxf2-page-object-model  by qxf2

Python test framework for web, mobile, and API automation

created 8 years ago
281 stars

Top 93.7% on sourcepulse

GitHubView on GitHub
Project Summary

This framework provides a Pythonic approach to automating web, mobile (iOS/Android), and API testing using the Page Object Model and player-interface patterns. It's designed for QA engineers and developers seeking to accelerate test suite creation with built-in integrations for popular services like BrowserStack, TestRail, and Slack.

How It Works

The framework leverages the Page Object Model for UI automation, encapsulating page elements and interactions into reusable classes. For API testing, it employs a player-interface pattern, allowing for structured definition and execution of API requests. This separation of concerns enhances maintainability and test robustness.

Quick Start & Requirements

  • Install: pip install -r requirements.txt
  • Prerequisites: Python 3.x, Selenium, Appium, pytest. Specific integrations may require API keys or cloud service accounts (BrowserStack, Sauce Labs, LambdaTest, TestRail, ReportPortal, Slack, Gmail).
  • Setup: Detailed instructions are available on GitHub wiki pages for GUI, mobile, and API automation setup.
  • Links: Qxf2's Gen AI test automation service, Qxf2's API test automation service

Highlighted Details

  • Supports parallel test execution (-n flag).
  • Integrates with CI/CD tools like Jenkins and CircleCI.
  • Offers options for interactive test execution and detailed reporting (HTML summaries, Slack notifications, TestRail/ReportPortal integration).
  • Includes AI and code auto-generation capabilities to speed up test suite creation.

Maintenance & Community

Developed and maintained by Qxf2 Services. Contact mak@qxf2.com for assistance.

Licensing & Compatibility

The README does not explicitly state the license. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The framework is primarily focused on Python and may require specific environment configurations (e.g., winpty for Git Bash on Windows). Some integrations require external service accounts and API keys. The README mentions a dependency on a separate qxf2/cars-api repository for running sample API tests.

Health Check
Last commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
3
Issues (30d)
1
Star History
3 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.