shell = WIN32OLE.new("Shell.Application")
ieTemp = nil
shell.Windows.each do |window|
puts window.locationname
puts "location url"
puts window.locationURL
puts "window path"
puts window.path
#next unless (window.path =~ /Internet Explorer/ rescue false)
next unless (window.path =~ /WINDOWS/ rescue false) # this works
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neri, Marco
Sent: Wednesday, 2 August 2006 10:29
To: [email protected]
Subject: Re: [Wtr-general] Attaching to windows problem
testLoadAuditHome(TC_testLoadAuditHome):
Watir::Exception::NoMatchingWindowFoundException: Unable to locate a window with
title of (?-mix:Audit)
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1065/./watir.rb:1439:in `attach_b
rowser_window'
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1065/./watir.rb:1314:in `attach_i
nit'
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1065/./watir.rb:1307:in `attach'
./Modules\ModuleBrowser.rb:8:in `startBrowser'
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Attebery, Bill
Sent: Friday, 23 June 2006 03:33
To: [email protected]
Subject: Re: [Wtr-general] Attaching to windows problem
There have been a lot of changes in this code in 1.5 and this code is very sensitive to environment.
What version of Windows and Ruby are you using?
| The content contained in this
electronic message is not intended to constitute formation of a contract binding TWTC. TWTC will be contractually bound only upon execution, by an authorized officer, of a contract including agreed terms and conditions or by express application of its tariffs. This message is intended only for the use of the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the sender of this E-Mail or by telephone. |
=======================================================
The information contained in this email and any files attached may
be confidential information to the intended recipient and may be
the subject of legal professional privilege or public interest immunity.
If you are not the intended recipient, any use, disclosure or copying is
unauthorised.
If you have received this document in error please telephone 1300 307 082
*******************************************************************
This footnote also confirms that this email message has been swept
for the presence of computer viruses.
*******************************************************************
=======================================================
The information contained in this email and any files attached may
be confidential information to the intended recipient and may be
the subject of legal professional privilege or public interest immunity.
If you are not the intended recipient, any use, disclosure or copying is
unauthorised.
If you have received this document in error please telephone 1300 307 082
*******************************************************************
This footnote also confirms that this email message has been swept
for the presence of computer viruses.
*******************************************************************
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
