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 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
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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ae8efd05cdd14124ced616403282fbc051e94a912963b6ed02d74a56b61b658
|
|
| MD5 |
208665195069f71c151c404936954c13
|
|
| BLAKE2b-256 |
1fe96b52cabc4976fa75479a99401cd3be991684ff80085091304051a02ff1a1
|
Provenance
The following attestation bundles were made for umldiagrammeruitests-1.0.1.tar.gz:
Publisher:
python-publish.yml on hasii2011/umldiagrammeruitests
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
umldiagrammeruitests-1.0.1.tar.gz -
Subject digest:
7ae8efd05cdd14124ced616403282fbc051e94a912963b6ed02d74a56b61b658 - Sigstore transparency entry: 2494942227
- Sigstore integration time:
-
Permalink:
hasii2011/umldiagrammeruitests@f752542195ce84ce11dce2dabd1448429828374a -
Branch / Tag:
refs/tags/1.0.1 - Owner: https://github.com/hasii2011
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f752542195ce84ce11dce2dabd1448429828374a -
Trigger Event:
release
-
Statement type:
File details
Details for the file umldiagrammeruitests-1.0.1-py3-none-any.whl.
File metadata
- Download URL: umldiagrammeruitests-1.0.1-py3-none-any.whl
- Upload date:
- Size: 38.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a061ba551b0d3fc8297c6fafed49b815bc5ac03d69513eae0abd004463defbc
|
|
| MD5 |
16d2c126fb1a8cb9385256ce7c7e7925
|
|
| BLAKE2b-256 |
97c4675ca709fa623b8ec92f7c746bfee41049c8bb6467046962a4e0a516406a
|
Provenance
The following attestation bundles were made for umldiagrammeruitests-1.0.1-py3-none-any.whl:
Publisher:
python-publish.yml on hasii2011/umldiagrammeruitests
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
umldiagrammeruitests-1.0.1-py3-none-any.whl -
Subject digest:
7a061ba551b0d3fc8297c6fafed49b815bc5ac03d69513eae0abd004463defbc - Sigstore transparency entry: 2494942238
- Sigstore integration time:
-
Permalink:
hasii2011/umldiagrammeruitests@f752542195ce84ce11dce2dabd1448429828374a -
Branch / Tag:
refs/tags/1.0.1 - Owner: https://github.com/hasii2011
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f752542195ce84ce11dce2dabd1448429828374a -
Trigger Event:
release
-
Statement type: