Skip to main content

Automated UI Test Framework

[English version below | Version française plus bas]


🇬🇧 English Description

A robust, Page Object Model (POM) based framework for automated UI testing using Selenium and Pytest.

This framework is designed to help you write maintainable and scalable end-to-end tests with minimal boilerplate.

Features

  • Page Object Model (POM): Structured architecture separating page logic from test logic.
  • Scaffolding CLI: Quickly initialize a new project with best-practice directory structure using automated-ui-framework init.
  • Built-in Utilities: Ready-to-use helpers for Waiting, Clicking, Filling inputs (via selenium-ui-test-tool).
  • Environment Management: Easy handling of test data and credentials.
  • Documentation: Includes HTML documentation to help you get started.

Installation

Install the package via pip:

pip install Auomated-ui-test-framework

Getting Started

  1. Create a new folder for your test project:

    mkdir my_test_project
    cd my_test_project
    
  2. Initialize the project structure:

    automated-ui-framework init
    

    This will create:

    • scenarios/: For your Page Objects.
    • tests/: For your test scripts.
    • data/: For credentials and test data.
    • utils/: For local utilities.
    • conftest.py: Pytest configuration.
  3. Run the sample test:

    pytest tests/
    

Writing a Page Object

Inherit from the Base class provided by the framework:

from automated_ui_test_framework.base import Base
from selenium.webdriver.common.by import By
# Uses selenium-ui-test-tool functions internally

class LoginPage(Base):
    def fill_form(self, username, password):
        self.fill_input(By.ID, "username", username)
        self.fill_input(By.ID, "password", password)
        self.click_element(By.ID, "submit-btn")

For more details, check the generated docs/index.html after installation.


🇫🇷 Description Française

Un framework robuste basé sur le modèle Page Object Model (POM) pour l'automatisation de tests UI avec Selenium et Pytest.

Ce framework est conçu pour vous aider à écrire des tests de bout en bout maintenables et évolutifs avec un minimum de code répétitif.

Fonctionnalités

  • Page Object Model (POM) : Architecture structurée séparant la logique de la page de la logique de test.
  • CLI d'initialisation : Initialisez rapidement un nouveau projet avec une structure recommandée via automated-ui-framework init.
  • Utilitaires intégrés : Fonctions prêtes à l'emploi pour attendre, cliquer, remplir des champs (via selenium-ui-test-tool).
  • Gestion d'environnement : Gestion facile des données de test et des identifiants.
  • Documentation : Inclut une documentation HTML pour vous aider à démarrer.

Installation

Installez le paquet via pip :

pip install Auomated-ui-test-framework

Démarrage Rapide

  1. Créez un nouveau dossier pour votre projet de test :

    mkdir mon_projet_test
    cd mon_projet_test
    
  2. Initialisez la structure du projet :

    automated-ui-framework init
    

    Cela va créer :

    • scenarios/ : Pour vos Page Objects.
    • tests/ : Pour vos scripts de test.
    • data/ : Pour les identifiants et données de test.
    • utils/ : Pour les utilitaires locaux.
    • conftest.py : Configuration Pytest.
  3. Lancez le test d'exemple :

    pytest tests/
    

Écrire un Page Object

Héritez de la classe Base fournie par le framework :

from automated_ui_test_framework.base import Base
from selenium.webdriver.common.by import By
# Utilise les fonctions selenium-ui-test-tool en interne

class LoginPage(Base):
    def fill_form(self, username, password):
        self.fill_input(By.ID, "username", username)
        self.fill_input(By.ID, "password", password)
        self.click_element(By.ID, "submit-btn")

Pour plus de détails, consultez le fichier docs/index.html généré après l'installation.

Metadata

Release files for Auomated-ui-test-framework 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Auomated-ui-test-framework 0.2.0
File Size Uploaded Provenance
auomated_ui_test_framework-0.2.0.tar.gz 9.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for Auomated-ui-test-framework 0.2.0
File Interpreter ABI Platform
auomated_ui_test_framework-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.4 kB

Release files / auomated_ui_test_framework-0.2.0.tar.gz

Download URL auomated_ui_test_framework-0.2.0.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
82188fe01705dc093389135ac309a91b90412204639dda7530847d05b7b21e5f
BLAKE2b-256 checksum
How to use checksums
c260e182947dbf3555ffaec2e8877b06558ad10f043141f321b04af6a751d2ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / auomated_ui_test_framework-0.2.0-py3-none-any.whl

Download URL auomated_ui_test_framework-0.2.0-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8641fce9606ed8dc8429782b87f649f1f21db45085a7f40278b8f726451604e2
BLAKE2b-256 checksum
How to use checksums
a2f019cf8badc5136a730c50b4f5743b76a1767f0f08d591afc309c4f22e9f6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for Auomated-ui-test-framework 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page