Skip to main content

Cross Platform GUI Test Automation tool.

Project description

Release Status Downloads

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.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.

Project details


Download files

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

Source Distribution

UISoup-2.4.3.tar.gz (24.2 kB view details)

Uploaded Source

File details

Details for the file UISoup-2.4.3.tar.gz.

File metadata

  • Download URL: UISoup-2.4.3.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for UISoup-2.4.3.tar.gz
Algorithm Hash digest
SHA256 75114e3148035f652ba5829262893ce07cb7a4c9b423560bc6cb4a0b68d7113d
MD5 5ad2b50edf6d6cbb4bf1eda0635e6410
BLAKE2b-256 bd71f4383bb2a904c2ce06c343dfa00c64b3b83b385237a02fb43541b2c934a4

See more details on using hashes here.

Supported by

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