how to specify location of opened window
hi i am writeing a small app to automate some actions on my computer this requires me to open an application and click on a button i am using
Process child0 = Runtime.getRuntime().exec("/home/user/application");to do this. The problem is every time it opens at a different lcation on the screen so i cannot click on it using the robot class due to x,y coordinates being different every time. with selenium you can use .setlocation(x,y) method but how can this be done for other applications.
any help or ideas would be great thanks
Re: how to specify location of opened window
there are tools to override gnome desktop environment however i overcame the problem by using robot class to hit tab a number of times until i found the button and then click..
just posting on case it is of help to others