Metadata-Version: 2.1
Name: pyjt
Version: 0.1.0
Summary: test automation for java UI applications from python
Author-email: Claudio Klingler <ck@realtime-projects.com>
Project-URL: Homepage, https://github.com/realtimeprojects/pyjt
Project-URL: Bug Tracker, https://github.com/realtimeprojects/pyjt/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# pyjt - test java UI applications from python

pyjt supports you testing java UI applications from python.

Features:

-   Thread safe call of java ui components
-   Advanced locators to find ui compoments within the component tree
-   Simulate real user interactions by mouse and keyboard

This library makes use of **jpype** as the interface to the java
virtual machine. It basicaly consists of helper functions to
control the application from a test automation perspective.

## Quickstart

    import pyjt
    
    from javax.swing import JButton

    # start your java application here, in this case, we start
    # a hello world application located in HelloWorld.java
    pyjt.start()
    pyjt.run("HelloWorld")

    # find the frame window titled "Hello World"
    frame = pyjt.FrameFinder.find(title="Hello World")

    # Locate and click a button on the frame
    frame.locate(JButton, text="Ok").click()


