win32::IEAutomation


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting win32::IEAutomation
# 1  
Old 07-16-2008
Question win32::IEAutomation

Hi folks,
what is the command used to click on the 'x' button of popup browser window in perl windows.I am using WIN32::IEAutomation module.

Please any one can help on this....
# 2  
Old 07-16-2008
Have you read the modules documentation? Look for the POPUP METHOD section.
# 3  
Old 07-17-2008
Thanks kevin,
I read modules and wrote the following script:
my $popup = $ie->getPopupWindow("Request Acknowledged-Phaser 4510DT");
$popup->getTable('id:', "headingtext")->Click;

When i use this in my script i am getting error like this:
-Use of uninitialized value $counter in numeric le(<=) at E:/Perl/site/lib/win32/IEAutomation.pm line 537
-Can't call method "title" on an undefined value at E:/Perl/site/lib/win32/IEAutomation.pm line 542.

please give me some suggestions on how to get rid of this error
# 4  
Old 07-17-2008
That is not a script, that is two lines of code totally out of context of the larger script they must come from. No way to tell by looking at those two lines. I am not familiar with the module anyway and will not be able to help with detailed suggestions.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

X-Win32 not working

I am trying to export windows display to my unix SunOS I have Windows server 2000 which has X-Win32 v6 installed. I start X-Win32. I then go to configure session with the following details. 1. host name: myhost 2. command: xterm -ls 3 username: user1 4 password: password Then i right... (1 Reply)
Discussion started by: mohtashims
1 Replies

2. Windows & DOS: Issues & Discussions

Getting Error when using Module Win32::IEAutomation;

Hi All, How are you Guys? I am using the Code use Win32::IEAutomation; # Creating new instance of Internet Explorer my $ie = Win32::IEAutomation->new( visible => 1, maximize => 1); # Site navigation $ie->gotoURL('http://www.google.com');... (4 Replies)
Discussion started by: adisky123
4 Replies

3. Shell Programming and Scripting

Details about WIN32::OLE

Hi all, Is win32::OLE module is applicable in linux system??? from my understanding it is not possible..because we have to use some tools for that..for more info refer this website http://oclug.on.ca/archives/oclug/2001-July/008100.html (1 Reply)
Discussion started by: kavi.mogu
1 Replies

4. Shell Programming and Scripting

MS Outlook + Win32::OLE

Hey guys, I'm trying to go through my emails in Outlook until I find an email with a certain subject line. I am able to send emails with no problem, but reading emails and their properties (From, Subject, etc.) is my main problem. Basically, I don't know where to start and using search engines... (2 Replies)
Discussion started by: kooshi
2 Replies

5. Windows & DOS: Issues & Discussions

Perl in Win32

Dear, Did anybody knnow how to run the Perl script or whatever mean for testing the script in Windows? (1 Reply)
Discussion started by: Paris Heng
1 Replies

6. Shell Programming and Scripting

execution status of gotoURL in Win32::IEAutomation

Hi, I am using Win32::IEAutomation module to automate my Web based application. I am trying to prepare a report for the test cases I automated. The problem is I am unable to get the execution status of the commands gotoURL, getButton .... to know if my button click or url redirection is... (2 Replies)
Discussion started by: gurukottur
2 Replies

7. Shell Programming and Scripting

perl win32::ieautomation

Hi friends, I am using win32::ieautomation to automate portal Please help me with below line of code: my $target_cell = $table_object->tableCells(2, 5); what is $table_object in above line I am using $browser->getTable('id:', "table_id")->tableCells(2,5); The error I get is can't... (0 Replies)
Discussion started by: gurukottur
0 Replies

8. Shell Programming and Scripting

perl script using Win32::IEAutomation

Hi Folks, I am using Perl module Win32::IEAutomation for automating a web page which is implented using iceface. I am trying to click on a image which has the following html code: <input alt="Incidents" class="iceCmdBtn" id="_id68:_id79" name="_id68:_id79" onblur="setFocus('');"... (5 Replies)
Discussion started by: gurukottur
5 Replies

9. Programming

Win32 VC++ DebugBreak in Linxu

Hi, Is there is any debugging solution in Linux similar to Win32's VC++ DebugBreak() call. (2 Replies)
Discussion started by: ku@ntum
2 Replies

10. UNIX for Advanced & Expert Users

X windows on win32

Hi, I'm looking for a X-windows client for win32. Preferably one that doesn't need to be installed so it can be run without administrator priviliges. I need it so users can logon to a unix or linux server from a windows client using X-windows. The idea is that the user must be able to use... (4 Replies)
Discussion started by: rein
4 Replies
Login or Register to Ask a Question