GUI automation question

 Hello Everyone,

I build one automise package that does mouse movement and clicks on several buttons in my one applicaiton.  I build this package on 19" monitor machine(development machine).  It worked grate on development machine but when trying to test this package on test machine, the mouse positions for X: and Y: is not set properly on test machine.  The test machine monitor is 17".

Is anyone know how to set monitor resolution via Automise?  

I would like to set monitor resolution from automise for all machine when this package run.

Thanks,

Jigar

Hi

There is currently no way to change the screen resolution from Automise. To do this you could use a third party utility to change the screen resolution at the start of the script and then restore the resolution at then end of the script.

Here is a free utility that you could use via the Execute Program action: http://sourceforge.net/projects/qres/

Hope this helps.

Regards,
Steve

 Thank you Steve.

I have another question regrading this topic.  I created other automated process and I cannot go back to previous button from sending key either LEFT\UP Arrow -- select from Type single key.  OR using "keys" string -- {UP} or {LEFT} or +{TAB}.

Please let me know what I did wrong here....

Thanks,

Jeegs

No problems.

This will depend on the tab order of the controls in the application. If the button you are attempting to select is the previous button (in the control order), you should be able to use the ‘Type single key’ mode and set the key to the Tab key and then enable the shift modifier.

The easiest way to determine the required key strokes, would be to manually open the application that you are attempting to automate and then figure out the combination of keystrokes required to navigate between controls.

Regards,
Steve

I did try use 'Type single key' mode with using Tab key and enable the shift modifier. but did not work. 

I also open the application manually and went to that controler and then use "Left", "Up" and "Shift + Tab" key strokes and it did work.  The cursor went to previous button softly.  Some reason from Automise it is not working (Only working Tab Key strokes).

The application build in FoxPro.

Thanks,
Jeegs

Not to downplay the fantastic Automise, but there are some things it just doesn’t do, in those cases I started to use AutoIT (http://www.autoitscript.com/site/autoit/).

It’s a bit more verbose and not as friendly as Automise, but you can do a lot with it and it has way more options when it comes to GUI Automation. A nice feature/option is being able to base your x/y coordinates off the top left corner of the window/message box of your choice rather than the screen itself - you can also compile your scripts to an .exe. I’m just mentioning it as I needed to automate a GUI recently and Automise simply couldn’t do what I wanted it to, so I wrote the GUI automation piece in AutoIT, compiled it and simply call that .exe from my Automise script…

TJ