11-22-2007
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 successful or not.
I tried putting the command in an if loop, but still am unsuccessful as getButton doesn't return o or 1 it returns null ' '.
Please help me how do I achieve this.
Regards,
Guru
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
2. Shell Programming and Scripting
Hello people,
I am using KSH and inside my script I do a cksum and check the status code to see whether the command sucessfully. Here even though the cksum fails due to file not existing the status returned is still 0 because the awk command worked fine. How do I capture just the status of the... (1 Reply)
Discussion started by: tipsy
1 Replies
3. Shell Programming and Scripting
How to capture output or numeric part given by $? command into the variable?
If I go for
var=`$?`
then $var is found empty. (2 Replies)
Discussion started by: videsh77
2 Replies
4. Shell Programming and Scripting
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
5. 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
6. Shell Programming and Scripting
Hello, I need advice on how to check if started processes are finished in perl, here's explanation :
OS is RHEL 4, perl -v = "This is perl, v5.8.0 built for i386-linux-thread-multi"
The logic of the script :
#!/usr/bin/perl
use warnings;
$param1 = $ARGV;
$param2 = $ARGV;
$param3 =... (2 Replies)
Discussion started by: sysgate
2 Replies
7. 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
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. Shell Programming and Scripting
Greetings Experts,
I am on AIX using ksh. Created a unix script which generates the CREATE OR REPLACE VIEW ... and GRANT .. statements, which are placed in a single .txt file. Now I need to execute the contents in the file (there are around 300 view creation and grant statements) in Oracle and... (4 Replies)
Discussion started by: chill3chee
4 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I am working on a file copier utility where I have written the copy commands to a batch file e.g. file_copier.bat which i pass to xargs command as follows.
cat file_copier.bat | xargs -n 1 -P 40
I also want to record the copy command status of each file/command in the form "command... (1 Reply)
Discussion started by: ankur singh
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)