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
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
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,
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
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
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
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
=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:
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
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
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
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]
[
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
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
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
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
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
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
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
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
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
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',
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
___
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
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:
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
26 matches
Mail list logo