Hi Paul,
thanks, 1.4 addressed the issue.
Regards,
Fred
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paul Rogers
Sent: Friday, August 05, 2005 1:59 AM
To: wtr-general@rubyforge.org
Subject: RE: [Wtr-general] RE: Cannot Identify "Cancel"
Hmm. I don't kn
Yep, in my situation, the checkbox are dynamically generated and re-indexed,
so I need a unique identifier so as the to have repeatable case.
Regards,
Fred
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paul Rogers
Sent: Friday, August 05, 2005 1:57 AM
To:
My guess is that this is a timing issue of some sort and ultimately a bug
(race condition) in watir.
One thing you can do is put small sleep statements in there.
For example put a "sleep 0.1" right before the failing line and then see if
you can reproduce the problem. If not, that proves it is
At 01:40 PM 8/4/2005, Torres, Ben (HQP) wrote:
Is there a way to override the built-in wait() after I click on a button
from the browser? I tried putting ie.wait(2) after click but it didn't
work.
ie.button().getOLEObject.click
_
Bret Pettichord
www.pettichord.com
___
At 12:57 PM 8/4/2005, Paul Rogers wrote:
note I didn't put a comma or anything in between value and 35, as Im
not sure what would be best
ie.check_box(:name, 'foo', :value , 35)
or
ie.check_box(:name, 'foo', :value => 35)
i would say it should either be
ie.check_box(:name, 'foo',
OK, I was wrong, the behavior is intermittent. Sometimes it works and
sometimes it doesn't :-( Any suggestions about how to track this down?
On Thu, 4 Aug 2005 14:35:36 -0400
Warren Pollans <[EMAIL PROTECTED]> wrote:
> Hmmm, I get the error if there's no browser window open at the start.
> If a
Is there a way to override the built-in wait() after I click on a button
from the browser? I tried putting ie.wait(2) after click but it didn't
work.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-gener
No, it should create the browser for you. What win/ruby versions?
Does the regular googleSearch.rb work?
Paul
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Warren Pollans
Sent: 04 August 2005 12:36
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general
Hmmm, I get the error if there's no browser window open at the start.
If a browser window is already open, it runs without error. Is this the
expected behavior?
On Thu, 04 Aug 2005 12:03:00 -0600
Paul Rogers <[EMAIL PROTECTED]> wrote:
> Well, it works for me ;-)
>
> The error is that watir co
Well, it works for me ;-)
The error is that watir couldn't find the text field where you enter the
search term.
I live in canada, and I always get redirected to google.ca, so maybe
something similar is happening for you and the search box has a
different name...
Other than that I cant really help
Yep, that does work in most situations ( the 35 being the value for the
checkbox) However in this situation Fred said that the values are
generated dynamically, so I assumed they may not be the same between
page loads.
We've discussed before how the 35 appears meaningless, and the more I
see it I
Hmm. I don't know why that wouldn't work. Could you try using
ie.reset(:name , 'reset').flash
Or maybe install the 1.4 release and just use
ie.button(:name , 'reset').flash
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fred
Sent: 04 August 2005 02:04
Hello,
Sorry, if this is obvious - I'm new to ruby, watir, and windows - I'm
coming from perl on unix.
What have I missed here? I ran the example concurrent_search test and
got the following:
C:\watir_bonus\examples>ruby concurrent_search.rb
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1939:in `ass
Nevermind...good ol .flash helped me find it...
-Original Message-
From: Torres, Ben (HQP)
Sent: Thursday, August 04, 2005 9:51 AM
To: 'wtr-general@rubyforge.org'
Subject: RE: RE: RE: [Wtr-general] click image problem
Dev is going to add ids in the next release. In the meantime, I'm g
Dev is going to add ids in the next release. In the meantime, I'm gonna
have to use index...
How do I know which index number goes to which button? There are
actually several other buttons on the page ("Add", "Remove", "Cancel",
"Continue"...)
-Original Message-
From: [EMAIL PROTECTED]
[
is m.join and t.join the code that actually
pushes the 'yes' button on the security warning or do i need to call a method to
push the button?
if m.join and t.join does the actual pushing of the
'yes' button on the security warning, do i put it right after the code that
pushes the login but
I didn't even realize there was a test for show_frames :-(
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: 04 August 2005 10:32
To: wtr-general@rubyforge.org
Subject: RE: [Wtr-general] Watir 1.4 is released
Thanks for all the report
Thanks for all the reports about unit test failures.
The failures in the frames tests listed below are test bugs, and can be
ignored. The indexing in show_frames had been incorrect. And the tests for
them had the wrong expected results (so they were passing, incorrectly).
Paul fixed the show_f
=begin
#your Ruby block is here
=end
I have had this not work sometimes though, so I comment out a block using
RDT in Eclipse, or Ctrl+Q in SciTE.
-Jonathan
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:wtr-general-
> [EMAIL PROTECTED] On Behalf Of Torres, Ben (HQP)
> Sent:
Is there any way to comment out a whole block of code?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
I'm not sure if this is the correct place to post - others have, so "me
too" :-)
C:\watir_bonus>ruby --version
ruby 1.8.2 (2004-12-25) [i386-mswin32]
I just installed 1.4 on a win2k box and got the following when running
the unittests:
Finished in 233.967 seconds.
1) Error:
test_newWindows
Hi Paul,
Thanks, that helps.
Ie.checkbox(:beforeText, 'Name 1').flash
Regards,
Fred
--
Date: Wed, 03 Aug 2005 21:13:03 -0600
From: Paul Rogers <[EMAIL PROTECTED]>
Subject: RE: [Wtr-general] Checkboxes with Similar Names
To: wtr-general@rubyforge.org
Message-I
Hi,
I just installed v1.4 as well, and ran the same tests as you. Got the
same results with the following exceptions:
Zeljko Filipin on 04.08.2005 09:07 wrote:
I have installed 1.4 and ran unit tests.
After core_tests.rb i get
1) Failure:
test_http_errors(TC_Navigate)
[unittests/../unittes
this is regarding watir and browser session contamination problems. please read.
-> http://rubyforge.org/pipermail/wtr-general/2005-June/002240.html
I used this code: this is to ensure it opens different html files
w=WinClicker.new
w.winsystem("start explorer #{thread_number}_#{i}.html ")
Hi Paul,
thanks for the response.
I have tried as recommended and it prompts,
reset name=reset id= value=Cancel
alt=src=
irb(main):012:0> ie.reset(:value , 'Cancel').flash
Watir::Exception::UnknownObjectException: Unable to locate object, us
I have installed 1.4 and ran unit tests.
After core_tests.rb i get
1) Failure:
test_http_errors(TC_Navigate)
[unittests/../unittests/../unittests/navigate_test.rb:51]:
exception expected but none was
thrown.
2) Failure:
test_button_frames(TC_show_frames)
[unittests/../unittests/../unitt
26 matches
Mail list logo