10-25-2007
$ie->getImage('class:',"IceGphImg")->getImage('alt:',"Incidents")->Click; would produce error
One way of debugging I can think is (need not be the optimal way): get a list of all images on the form using getAllImages() function. In this list, check the attributes of the image on which you wish to click. If you find any unique attribute, use it as argument to getImage() function.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. Shell Programming and Scripting
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
3. Windows & DOS: Issues & Discussions
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
4. Shell Programming and Scripting
Is there a book available that goes into the PERL WIN32 module in depth ?
I like the Unix in a nutshell or Perl Black Book by Holzner way of teaching. Teach by example.
Anyone ?
Thanks
Popeye, Olive and sweetpea :p (1 Reply)
Discussion started by: popeye
1 Replies
5. Shell Programming and Scripting
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.... (3 Replies)
Discussion started by: jyo123.jyothi
3 Replies
6. Shell Programming and Scripting
I am trying to insert a picture into a worksheet in Excel using Perl the following is the code
use Win32::OLE;
use Win32::OLE::Const "Microsoft Excel";
use Win32::OLE qw(in with);
# Initiate Excel application
$Excel = Win32::OLE->new('Excel.Application', 'Quit');
$Excel->{Visible} =1;
#... (1 Reply)
Discussion started by: cold_Que
1 Replies
7. Shell Programming and Scripting
Hello Gurus,
I am begginer in perl. I would like to ask several questions, some related to perl and its syntax but most will be regarding to WIN32 OLE. My main goal is to develop script that will check word document structure (return some information) and make some changes in this document (if it... (0 Replies)
Discussion started by: wakatana
0 Replies
8. Windows & DOS: Issues & Discussions
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
9. UNIX for Advanced & Expert Users
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
10. Programming
I have reviewed many examples on-line about running another process (either PERL or shell command or a program), but do not find any usefull for my needs way. (Reviewed and not useful the system(), 'back ticks', exec() and open())
I would like to run another PERL-script from first one, not... (1 Reply)
Discussion started by: alex_5161
1 Replies
LEARN ABOUT DEBIAN
padre::util::win32
Padre::Util::Win32(3pm) User Contributed Perl Documentation Padre::Util::Win32(3pm)
NAME
Padre::Util::Win32 - Padre Win32 API Functions
DESCRIPTION
The "Padre::Util::Win32" package provides an XS wrapper for Win32 API functions
All functions are exportable and documented for maintenance purposes, but except for in the Padre core distribution you are discouraged in
the strongest possible terms from using these functions, as they may be moved, removed or changed at any time without notice.
FUNCTIONS
"GetLongPathName"
Padre::Util::Win32::GetLongPathName($path);
Converts the specified path $path to its long form. Returns "undef" for failure, or the long form of the specified path
"Recycle"
Padre::Util::Win32::Recycle($file_to_recycle);
Move $file_to_recycle to recycle bin Returns "undef" (failed), zero (aborted) or one (success)
"AllowSetForegroundWindow"
Padre::Util::Win32::AllowSetForegroundWindow($pid);
Enables the specified process $pid to set the foreground window via "SetForegroundWindow"
http://msdn.microsoft.com/en-us/library/ms633539(VS.85).aspx <http://msdn.microsoft.com/en-us/library/ms633539(VS.85).aspx>
"ExecuteProcessAndWait"
Padre::Util::Win32::ExecuteProcessAndWait(
directory => $directory,
file => $file,
parameters => $parameters,
show => $show,
)
Execute a background process named "$file $parameters" with the current directory set to $directory and wait for it to end. If you set
$show to 0, then you have an invisible command line window on win32!
"GetCurrentProcessMemorySize"
Padre::Util::Win32::GetCurrentProcessMemorySize;
Returns the current process memory size in bytes
"GetLastErrorString"
Padre::Util::Win32::GetLastError;
Returns the error code of the last Win32 API call.
The list of error codes could be found at http://msdn.microsoft.com/en-us/library/ms681381(VS.85).aspx <http://msdn.microsoft.com/en-
us/library/ms681381(VS.85).aspx>.
"GetLastErrorString"
Padre::Util::Win32::GetLastErrorString;
Returns the string representation for the error code of the last Win32 API call.
COPYRIGHT
Copyright 2008-2012 The Padre development team as listed in Padre.pm.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl v5.14.2 2012-06-27 Padre::Util::Win32(3pm)