Skip to main content

PyPI versionMaintenance

forthebadge made-with-python

UI Test Automation Suite

This project contains a suite of UI automation tests for the UML Diagrammer application. These tests use the pyautogui library to simulate user interactions and verify the correctness of the application's behavior.

Test CLI

Currently, this project supports the following tests:

Usage: uitest [OPTIONS] COMMAND [ARGS]...

  The UML Diagrammer UI Test driver

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  aggregation  Execute the create an aggregation relationship test
  basicClass   Execute the test for basic class creation
  composition  Execute the create a composition relationship test
  inheritance  Execute the create an inheritance relationship test

Utility Scripts

  • gists/FixIDRegExTest.py: A small utility script for testing and debugging the regular expression used to remove unique IDs from the generated XML files during the comparison process.
  • TrackMouse.py: A simple script that prints the current mouse coordinates to the console. This is useful for finding the screen coordinates needed for the pyautogui test scripts.

Running the Tests

To run these tests, you need to have the UML Diagrammer application running. Then, you can execute each test from your terminal. For example:

# Run a specific UI test
uitest aggregation
uitest basicClass
uitest composition
uitest inheritance

Prerequisites

The debug section in umlDiagrammer.ini must use the following values:

[Debug]
inTestMode = True
testPosition = 20,40
testSize = 1247,842

Installation

pip install umldiagrammeruitests

Written by Humberto A. Sanchez II (C) 2026

Note

For all kinds of problems, requests, enhancements, bug reports, etc., please drop me an e-mail.


Copilot Statement.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

umldiagrammeruitests-1.0.0.tar.gz (30.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

umldiagrammeruitests-1.0.0-py3-none-any.whl (38.0 kB view details)

Uploaded Python 3

File details

Details for the file umldiagrammeruitests-1.0.0.tar.gz.

File metadata

  • Download URL: umldiagrammeruitests-1.0.0.tar.gz
  • Upload date:
  • Size: 30.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.15

File hashes

Hashes for umldiagrammeruitests-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c1cdf6bd1592cc2a22afc606d3999d9081f02af57d5fac30c697dd9b2f8bec5c
MD5 dba8523bd882a5516fa34b6c9820f71c
BLAKE2b-256 60ac685233cc6a588b17f8f1c91b1ed38ff1f52be47c73a908568da4c66cf8d1

See more details on using hashes here.

File details

Details for the file umldiagrammeruitests-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for umldiagrammeruitests-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d543d4f0f4487e880d9df590bceea3eaba2cfbc6088852effbf3e427cc92c941
MD5 0ad44399f47dd4823f374a3f5d4cb8ea
BLAKE2b-256 cd1790caa335ac0da0643593b5b9bef7723d164e022ae0e624079de4f75eceb1

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.1

2 files

This release

1.0.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page