views:

67

answers:

1

I don't know what the objects name is because I don't have the source code for it but I want to code something in Python to have it login to an application for me. Basically I want it to start the program which is this

import subprocess 
subprocess.call(['C:\Program Files\PATH\program.exe'])

But than I want it to click on the login button in the top right hand side of the application window.

Lastly I want it to type in a password in the password field and click login.

Any ideas, or places to read/look would be greatly appreciated thank you.

+1  A: 

If it's a GUI program, you may need to look at Windows GUI automation. E.g. I've heard of, but not yet tried myself:

Craig McQueen