I've faced this problem before and I came to know that this is not possible
as replied by one of the group member.if window is minimised then that
window cant be focussed.
in my application , there is a link in a page and if you click that the
popwerpoint version of the same would be downloaded
Am running ruby and watir 1.6.5 which uses AutoItX3.dll (v. 3.1.1) on
a Windows Server 2003 virtual machine accessed from an XP Pro laptop
through Remote Desktop.
If I run the script and leave the desktop window open, the following
code runs correctly.
If I minimize the window the code hangs
Lots of people have run into this, and it seems the only workaround is to
leave a user logged in to the remote machine at all times.
Then, if you need to access the console of the VM where your tests are
running, and using the RDP client interrupts execution of your tests, you
can try a different