qxf2-page-object-model  by qxf2

Python test framework for web, mobile, and API automation

Created 8 years ago
286 stars

Top 91.6% 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

5 days ago

Responsiveness

1+ week

Pull Requests (30d)
1
Issues (30d)
0
Star History
4 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Meng Zhang Meng Zhang(Cofounder of TabbyML), and
3 more.

qodo-cover by qodo-ai

0.2%
5k
CLI tool for AI-powered test generation and code coverage enhancement
Created 1 year ago
Updated 2 months ago
Feedback? Help us improve.