cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ssudan
Level 2

Automate the installation.

Hi,
I would like to automate the installation process for testing purpose. Is there any means by which I could achieve this. I tried using the java Robot class to do mouse click events on the buttons provided in the dialog boxes. This click event works well at times when the next dialog box is shown but it is not consistent. It doesnt work the same always. The code I have written inside the event entered is

java.awt.Robot r = new java.awt.Robot();
r.delay(2000);
r.mouseMove((207*2)+192, (176*2)+200);

r.mousePress(java.awt.event.InputEvent.BUTTON1_MASK );
r.delay(2000);
r.mouseRelease(java.awt.event.InputEvent.BUTTON1_MASK );

Is there any other way by which I could sent mouse click events so that I could automate the installation process ?

Thanks,
Sudan
Labels (1)
0 Kudos
(1) Reply
MotoJason
Level 3

If it's an install script you can just make different silent install/uninstall files and run the setup against each one seperately.
0 Kudos