Skip to main content

UISoup

Release Status

This library supports UI-related testing using Python on Windows and Mac OS. (Only Python x86 is supported)

How to use examples:

  • Calculator:

from uisoup import uisoup


calculator = uisoup.get_window('Calculator')

calculator.drag_to(50, 50, x_offset=30, y_offset=5)
b1 = calculator.find(c_name='btn2')
b1.click()
ba = calculator.find(c_name='btnAdd')
ba.click()
b2 = calculator.find(c_name='btn3')
b2.click()
be = calculator.find(c_name='btnEquals')
be.click()
  • Notepad:

from uisoup import uisoup


# You can use wildcard in names such as "?" and "*".
notepad = uisoup.get_window('*Notepad')

notepad.set_focus()
kc = uisoup.keyboard.codes
uisoup.keyboard.send(kc.SHIFT.modify(kc.KEY_H), kc.KEY_E, kc.KEY_L,
                     kc.KEY_L, kc.KEY_O, kc.SPACE, kc.KEY_W, kc.KEY_O,
                     kc.KEY_R, kc.KEY_L, kc.KEY_D,
                     kc.SHIFT.modify(kc.KEY_1))

Also adds ui-inspector script that allows you to inspect UI elements. Just type it in terminal.

Changelog:

UISoup 2.5.7 (released 27 Apr 2018)

  • Fixes: fix issue with pip.req in new version of pip.

UISoup 2.5.5 (released 01 Jun 2017)

  • Fixes: fix issue #19 that blocks __str__ method of element.

UISoup 2.5.4 (released 14 Apr 2017)

  • Additions: added support for Python3.

  • Additions: docstrings were updated.

UISoup 2.4.3 (released 15 Apr 2015)

  • Additions: fixed mouse double click.

UISoup 2.4.2 (released 8 Apr 2015)

  • Additions: updated with smooth mouse move.

  • Additions: updated with delay between key press in Keyboard.send() method.

UISoup 2.4.1 (released 4 Mar 2015)

  • Mac OS Additions: added new element role “AXLink”.

  • Mac OS Additions: fixed issue when we getting fail on execution “get attribute “AXURL” of UI element” string.

UISoup 2.4 (released 5 Feb 2015)

  • Mac OS Additions: fixed issue when we can’t work with windows that have double quotes in name.

UISoup 2.2 (released 16 Dec 2014)

  • Mac OS Additions: added ability to see AXDialog windows.

  • Mac OS Additions: fixed issue when incorrect applescript specifier was constructed.

UISoup 2.0 (released 20 Jun 2014)

  • Mac OS Additions: added version for Mac OS.

UISoup 1.0 (released 28 Mar 2014)

  • Windows Additions: initial version for Windows.

Release files for UISoup 2.5.7

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

Source distribution (sdist)

Source distribution for UISoup 2.5.7
File Size Uploaded
UISoup-2.5.7.tar.gz 24.9 kB Details

Release files / UISoup-2.5.7.tar.gz

Download URL UISoup-2.5.7.tar.gz
Size 24.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e3d59d028cb0bd7a13018c41de892edf272513765e8e2f7330ba7a12a2e1a9e7
BLAKE2b-256 checksum
How to use checksums
98696308382d86316ec981eea1e920fc96788cc219a703028fd8f7154a7db142
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2.5.7 This release

1 release file

2.5.6

1 release file

2.5.5

1 release file

2.5.4

1 release file

2.5.3

1 release file

2.5.2

1 release file

2.5.1

1 release file

2.4.3

1 release file

2.4.2

1 release file

2.4.1

1 release file

2.4

1 release file

2.2

1 release file

2.1

1 release file

2.0

1 release file

1.3.2

1 release file

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