OK thank you again. Can you tell me -- where to find good documentation on Ruby
libraries like WinClicker? I see a lot of basic Ruby language
documentation...but not much on libraries (if that is the right word.)
Actually, if I do gem list I see several win32-* gems...I presume the
WinClicker
I added comments and cleaned up the WinClicker code, mostly formatting as I'm not quite sure which methods people are using. The next step would be creating unit tests. -Charley
On 9/13/06, Bret Pettichord [EMAIL PROTECTED] wrote:
Sun wrote: OK thank you again. Can you tell me -- where to find
Problem resolved.
First -- I don't actually know if this is, or is not, a modal dialog, since the:
if (modal = ie.modal_dialog(:hwnd, hwnd))
statement cannot be parsed (because apparently, even in the 1081 code branch
the :hwnd parameter is not recognized for this method call.)
However, I
Glad to help.
Sun wrote:
Problem resolved.
First -- I don't actually know if this is, or is not, a modal dialog, since
the:
if (modal = ie.modal_dialog(:hwnd, hwnd))
statement cannot be parsed (because apparently, even in the 1081 code branch
the :hwnd parameter is not recognized for this
Sun,
If the window only has the title Internet Explorer
then it's not likely that it's a modal dialog. This sounds more
like an IE warning dialog, which is quite different.
I cannot duplicate that warning box on my copy of IE,
probably because I previously unchecked the box in the
One more thing...just so you know, when I puts $LOAD_PATH here is the library
info:
===
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1065/./watir/win32ole
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1065/bin
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1065/.
c:/ruby/lib/ruby/site_ruby/1.8
Also, if I recode it like this:
===
require 'watir'
require 'test/unit'
class TC_article_example Test::Unit::TestCase
def test_search
# open the IE browser
ie = Watir::IE.new
# steer to google
ie.goto('http://www.google.com/')
# load the search field
Sun wrote:
Yes...the problem I have is that I have a corporate browser. I have in fact
checked this so that it should not reappear but it does anyway. Corporate
IT doesn't let us change the security levels for the browser so...that is
probably why the popups are forced.
OK, thank you
@rubyforge.org
Subject: Re: [Wtr-general] Handling (Browser Security Driven?) Modal
Dialog
Sun wrote:
Yes...the problem I have is that I have a corporate browser. I have in
fact checked this so that it should not reappear but it does anyway.
Corporate IT doesn't let us change the security levels
Cain, Mark wrote:
Will this handle modal windows and JS popups now? Has that modal window
code been merged into the main branch now?
--Mark
It still doesn't have all of the functions I added to the modal_dialog
branch, like Element#visible?, but it should have most of the
modal_dialog
I have a popup titled simply Internet Explorer containing the text: When you
send information to the Internet, it might be possible for others to see that
information. Do you want to continue? There are two buttons, labeled Yes and
No.
I am unable to attach to this like so: ie2 =
11 matches
Mail list logo