Skip to main content

Cross Platform GUI Test Automation tool.

Project description

Release Status Downloads

This library supports UI-related testing using Python. (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.

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.1.tar.gz (22.8 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for UISoup-2.1.tar.gz
Algorithm Hash digest
SHA256 1d64b677ef6eab50062fc2298c02e60c259d3a28995a080afd60dc246412afd9
MD5 b4485dd186d45b48bddbb8cb517aa3c8
BLAKE2b-256 6a51cf2fdd48cd668e56ddfd997342086dd9ee5fb1a4282b19f29bdac53c63b1

See more details on using hashes here.

Supported by

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