I am new to Ruby.
What I want to do is to start up an appliacation (GUI
of course) and use Ruby to move the mouse to the
application Button called Start and click on it when
it is active (ie not greyed out).
I can start the application by putting a shortcut in
the XP startup folder, and pass the file as input
parameter but how to use Ruby to move the mouse to
different buttons (three buttons in this app Start
,Continue , Cancel ) in the application windows
and click on it, and also how to test the button is
active before I can click on it.
My normal steps are :-
- double click on app.exe
- move mouse to File >> open >> datafile.dat
- move mouse to the START button ( which is active)
in the application windows and double click the button
Basically I want to automate Step 1 ,2 and 3 above.
Can anyone help