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.1.tar.gz (29.4 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.1-py3-none-any.whl (38.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: umldiagrammeruitests-1.0.1.tar.gz
  • Upload date:
  • Size: 29.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for umldiagrammeruitests-1.0.1.tar.gz
Algorithm Hash digest
SHA256 7ae8efd05cdd14124ced616403282fbc051e94a912963b6ed02d74a56b61b658
MD5 208665195069f71c151c404936954c13
BLAKE2b-256 1fe96b52cabc4976fa75479a99401cd3be991684ff80085091304051a02ff1a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for umldiagrammeruitests-1.0.1.tar.gz:

Publisher: python-publish.yml on hasii2011/umldiagrammeruitests

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for umldiagrammeruitests-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7a061ba551b0d3fc8297c6fafed49b815bc5ac03d69513eae0abd004463defbc
MD5 16d2c126fb1a8cb9385256ce7c7e7925
BLAKE2b-256 97c4675ca709fa623b8ec92f7c746bfee41049c8bb6467046962a4e0a516406a

See more details on using hashes here.

Provenance

The following attestation bundles were made for umldiagrammeruitests-1.0.1-py3-none-any.whl:

Publisher: python-publish.yml on hasii2011/umldiagrammeruitests

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 files

1.0.0

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