Hi People..
Heres The Code:
tr td height=15/td/tr
tr align=left
td align=left colspan=2 valign=bottom
input border=0 alt=Search src=../images/search_top.gif
name=CTL_SUBMIT type=image
a href=FilingsSearch.aspimg border=0 alt=Clear
Hi,
The element you are trying to click is not an image element i.e. not of type
image. But its input type=image
which is different. So you should try using following code.
ie.button(:src, /search_top/i).click
If you use your code 'Watir' is correctly clicking the image which is having
the
Hi People...
I Need To Add A Cookie From A Site That I Accessed Through Watir To A
WWW::Mechanize Agent...
Is There Any Way To Do It, Or Will It Be Possible To Be Really Authenticated In
The Site Then By Mechanize Agent..
e.g If I Say If I Login In Yahoo By Watir And Then Try To Access My
Hi Angrez, Thanks.. That Worked... Don't Know How Did I Missed That Out :P
Thanks... :)
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
What's the warning message?
On 5/4/07, Venkata [EMAIL PROTECTED] wrote:
Thanks chareley,
i keep getting warning message in the log end of te script execution.
Thanks.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
Thank's,
Yes i already do that, and the control take the focus, but it don't want to
click on it ...
:-(
Any suggestion ??
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi Folks,
I have scripts that use authentication. So when I start my first test, it goes
to a login page and once I click the login button, my test runs.
Subsequent tests runs without going to the login page as I'm now authorished to
run the rest of the scripts.
So in my code if the login
Assuming your html uses regular type html
input type - text name='foo' maxLength=3
and you only want to test that the text field only allows 3 chars, why not
use
ie.text_field(:index,1).maxLength
I guess if the maximum length is imposed by a javascript method on the
onKeyPress event, then
I just ran the same code with IE7 and it appeared to work fine. Just out of
curiosity why use send_keys instead of setting the text field?
ie.text_field(:index, 1).set('foo')
-Charley
On 5/4/07, Paul Rogers [EMAIL PROTECTED] wrote:
Assuming your html uses regular type html
input type - text
Hi guys,
I apologize if this thread had been discussed before. I was looking for it, but
I couldnt find it.
here is what I'm trying to do.
I define a bunch of classes and functions in a.rb file, and I'm going to write
the main script which hopefully can interact/use all the functions and
Hi,
Put
require 'extra'
near the top of main.rb. For now keep them both (extra.rb and main.rb)
located in the same folder.
Zeljko
--
ZeljkoFilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
Im going to guess that this is a bug in 1.5
Seems like this would be an opportunity to sync up FireWatir with
Watir. I think Charley has been looking into some of that recently.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
thanks for the quick respond. that was easy, huh.. I just thought too much on
that one. beginner...:(
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
On 5/4/07, Alien Ruby [EMAIL PROTECTED] wrote:
thanks for the quick respond.
You are welcome. :)
that was easy, huh..
It is Ruby, (almost) everything is easy here.
I just thought too much on that one. beginner...:(
It happens. That is why this mailing list exists.
Zeljko
--
It's a curious bug, just saw the same thing. A bug/feature, works more than
it should. :) Chris is right we should definitely spend more time with
Angrez, Prema and the Firewatir community. I'm getting slammed by requests
for multiple browser tests and starting to abstract layers so that it's
Here's the code snippet that's giving me problems:
ie.table(:index,29).each do |row|
if (row[1].text =~ /#{journals}/) != nil then #If there is a match
for that regex
row[5].link(:index,1).click # this makes the popup window appear
cw = Watir::IE.attach(:title,'Popup Window') #
How are you guys so helpful ?
It just makes me want to keep coding all weekend. need lots of coffee then...
have a great weekend, guys..!!
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
On 5/4/07, Alien Ruby [EMAIL PROTECTED] wrote:
How are you guys so helpful ?
That's actually a really good question. The people who started Watir
had all participated in other Open Source projects, some successful,
some unsuccessful. The early Watir community insisted that everyone,
Charley Baker wrote:
I'd like to send out another annoucement asking for people to
contribute to the Watir user guide and volunteer. I've started poking
around at the user guide today and made a few changes, notably to
update view source with the ie developer toolbar. I'll make further
Eoin wrote:
However FireWatir doesn't ignore the login button and bombs out when it sees
it.
It would help if you showed us the error and the page. However, my guess
is that the problem is with the behavior of contains_text. In Watir for
IE 1.4 this did not include the title. In Watir for
I've been doing a lot of thinking and planning for what we need to do
with Watir. I've also been fairly quiet. I now have a new job and have
been preoccupied by the change in jobs lately: with wrapping up
affairs at my old job at DataCert, with a job search, and then with
starting at Dovetail,
Good information. You and Charley and maybe some others should put
this in blogs so the wider world can find it.
On 5/4/07, Bret Pettichord [EMAIL PROTECTED] wrote:
I've been doing a lot of thinking and planning for what we need to do
with Watir. I've also been fairly quiet. I now have a new
22 matches
Mail list logo