On Thu, 15 Sep 2016, 08:12 meInvent bbird, <jobmatt...@gmail.com> wrote:

> how to automate java application in window using python
> 1. scroll up or down of scroll bar
> 2. click button
> 3. type text in textbox

I would recommend having a look at pywinauto

It presents a very nice pythonic interface to Windows and the controls
within them, allowing statements such as (copied from the Readme):

app.UntitledNotepad.MenuSelect("Help->About Notepad")
app.UntitledNotepad.Edit.TypeKeys ("pywinauto Works!", with_spaces = True)

(I found it already quite stable when I first used it a couple of years
ago, and looking at the Readme now it's clearly still an active project,
the optional image capture feature using pillow is new)


Reply via email to