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.
Documentation
- 📖 Read UI Test Suite Description (Markdown)
- 📄 View UI Test Suite Description (PDF)
- 📝 Download editable Word Document (.docx)
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
interface Execute the create an implement interface test
noteLink Execute the create a Uml Note link 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 thepyautoguitest 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
uitest interface
uitest noteLink
Prerequisites
The debug section in umlDiagrammer.ini must use the following values:
[Debug]
inTestMode = True
testPosition = 20,40
testSize = 1247,950
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.
Metadata
Release files for umldiagrammeruitests 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| umldiagrammeruitests-1.2.0.tar.gz | 35.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| umldiagrammeruitests-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 84.6 kB
Release files / umldiagrammeruitests-1.2.0.tar.gz
| Download URL | umldiagrammeruitests-1.2.0.tar.gz |
|---|---|
| Size | 35.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbad20557b256e545e3d26a90e7925d82d1db479f0318cd75283544de1aefafc
|
|
BLAKE2b-256 checksum How to use checksums |
04ac8d3b6034d2bebaae193950400469606a77f05877fecdf2aaf3f329cb1a2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logRelease files / umldiagrammeruitests-1.2.0-py3-none-any.whl
| Download URL | umldiagrammeruitests-1.2.0-py3-none-any.whl |
|---|---|
| Size | 49.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3df9d6f98369bc00fbb984edb17e9b98204557dd3f6663a172da40f3f54d0090
|
|
BLAKE2b-256 checksum How to use checksums |
2ff8dcb388e400a5587c8bdf92a701c0c3669a4d2d12faadd197482677d67416
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency log