mmuz82 has asked for the wisdom of the Perl Monks concerning the following question:
Hi everyone. I've recently wrote a script to semi-automate tasks in Internet Explorer. The reason it's semi-automate is that there are a couple of things I need to input manually, but that's not the problem here. The site is used for submitting medical claims, and after each submission, a popup will be displayed to confirm the data entered with either 'OK' or 'Cancel' (using standard confirm function from JavaScript). I wrote the script using only Win32::OLE library, and I wanted to know if there's a possibility to
1. Automatically click on the 'OK' button on the popup window, and to
2. Get back the focus to the cmd prompt which the Perl script is running
I search the internet for clues, and the closest I can find is the SendKeys function. However, I'm not sure how to apply in Perl. Can someone help me with this? Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to 'control' the IE popup window using Perl
by blakew (Monk) on Mar 03, 2012 at 22:28 UTC | |
|
Re: How to 'control' the IE popup window using Perl
by Gangabass (Vicar) on Mar 05, 2012 at 09:37 UTC |