CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Win32 Programming Help: Re: [jojo101] Problem with Edit Log

New User

Sep 13, 2008, 1:41 PM

Views: 8396
Re: [jojo101] Problem with

In Reply To
my $popup = $ie->getPopupWindow("Request Acknowledged-Phaser 4510DT");
$popup->getTable('id:', "headingtext");
print $popup;
Above script will open the application and enters the values fetching from the file input.txt to the textbox and click on Button.After clicking a message box will pops up saying "Request Acknowledged - No Errors Reported".My requirement is to read the message in the popup window and to be printed on the console.

A message box? Looks like in stead of using the popup window method you need to use the dialog handling methods from this package:

my $clicker = Win32::IEAutomation::WinClicker->new();

There are methods for clicking on YES/NO/OK buttons etc. of dialogboxes but not one for reading what's in it. So you'll have to add a method to the pm file.
Probably at: C:\Perl\site\lib\Win32\IEAutomation\
It uses autoit internally ( ) for handling those dialogboxes so you'll have to find out how you can get text from a control using autoit first...

Dieter D'Hoker

(This post was edited by DieterDHoker on Sep 13, 2008, 1:43 PM)

Edit Log:
Post edited by DieterDHoker (New User) on Sep 13, 2008, 1:43 PM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives