UPDATE!
Thanks to all for your help.
I am back up and running. I listened to all of you.
1. I needed admin priveledges...and didn't have any on my system.
2. I reinstalled ruby
3. I didn't use the one click installer. Instead I installed the latest gem via
the command prompt.
Thanks again!
--
UPDATE!
It appears that I was running into the bug in release 1.4.1. I have installed
the latest gem watir 1.5.1.. It will now recognize:
ie.table(:index, 10).button(:what, ever).click
I don't have many identifiers to choose from for my button so to get it to work
I've had to use index(s)
Try inserting a statement to logout or go back to the original page. See
below:
On 2/9/07, lianagi <[EMAIL PROTECTED]> wrote:
Thanks for all the help. =) I can now take input from a text file.
One more problem though, using the following codes:
myFile = File.new( "C:\\Documents and Settings\\
use the IE dev toolbar and just count it out :)
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6498&messageID=18514#18514
___
Wtr-general mailing list
Wtr-general@
Thanks for all the help. =) I can now take input from a text file.
One more problem though, using the following codes:
myFile = File.new( "C:\\Documents and Settings\\Jone\\Desktop\\names.txt", "r" )
lineArray = IO.readlines( myFile.path )
lineArray.each{ |line|
ie.text_field( :name, "
Ok , i have installed the 1.5.1.1145 version of watir ...
But i don't understand what i can find the row and cols number (there is many
table on my form ...) . Do you have a tool ?
-
Posted via Jive Forums
http://forums.openqa.o
I looks like this is in a table, figure out which row and cell it is in then do
table(:what,ever)[row][cell].click
that might work.
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6498&messageID=18494#18494
Carl,
Thanks, but I already got my question answered.
http://rubyforge.org/pipermail/wtr-general/2007-February/009351.html
--
Zeljko Filipin
zeljkofilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/w
If this is a javascript popup you can take a look at the FAQ
http://wiki.openqa.org/display/WTR/FAQ for handling javascript popups.
Otherwise if this is an IE specific modal dialog, then using watir 1.5.1 you
can access the modal_dialog through your ie object. Let us know if either of
these two wo
Maisonnette wrote:
> I use watir-1.4.1 version...
>
ie.link(:name, "critere.symbol.symbole").click
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Nathan Christie wrote:
> Maybe something like this:
>
> ie = IE.start( "http://serverName/BackgroundChecker.ext"; )
>
> myFile = File.new( "C:\\names\wanted.txt", "r" )
>
This line has a subtle but nasty syntax error. This is correct:
myFile = File.new( "C:\\names\\wanted.txt", "r" )
Or
On 2/9/07, Maisonnette <[EMAIL PROTECTED]> wrote:
I use watir-1.4.1
Install Watir 1.5.1.1145 and it will work.
http://wiki.openqa.org/display/WTR/Development+Builds
--
Zeljko Filipin
zeljkofilipin.com
___
Wtr-general mailing list
Wtr-general@rubyfor
I assume this is a forum entry that you entered. When I did it there was a
little icon in the top left of the forum entry. I clicked on it and
entered a resolution and it was moved to correct.
Unfortunately I am blocked from forums here at the office or I would double
check. :o(
Carl
Lauren wrote:
> What about these "AutoItX.chm, and AutoItX3.chm" files want can be done here
> to correct my install?
These are help files, so i wouldn't worry about them.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailma
Got the book. Only skimmed through at first, but Chapter 2's introduction
to just basic command line stuff is important. Developers tend to forget
that this kind of stuff is not guaranteed for testers.
I *love* the Ruby Facts sections for Arrays, Regular Expressions and
Hashes. About 50-100 exampl
thank you but it doesn't work ...
I use watir-1.4.1 version... and it say :
[b]Watir::Exception::MissingWayOfFindingObjectException: :html is an unknown
way of finding a link ( critere.symbol.symbole )[/b]
-
Posted via Jive Foru
div(:id, "ContractDoc").click
i think that should work
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6325&messageID=18488#18488
___
Wtr-general mailing list
Wtr-
Hi Thanks a lot, It worked. I am using it a lot. But now i got another doubt if
the link is
of this kind. This is exactly not a link, its a tab
link. so how to click such type of links??
and the other typw of link is I used the
ie.span(:index,10).click
then it worked, but it will be the
On 2/9/07, John Lolis <[EMAIL PROTECTED]> wrote:
Think its too late now though :)
It is. I tried to edit my original post, but there is no option to make it a
message. Thanks for info.
--
Zeljko Filipin
zeljkofilipin.com
___
Wtr-general mailing list
I guess this one should work in recent versions of Watir:
ie.link(:html,/critere.symbol.symbole/).click
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6498&messageID=18482#18482
On 2/9/07, Paul Rogers <[EMAIL PROTECTED]> wrote:
>
>
> there is also a gmail library for ruby which is really easy to use
>
> I think its called gmailer or ruby-gmailer
In addition to the SMTP & Gmailer Ruby options, there is also
a Ruby POP3 library (built-in IIRC) and possibly even an IMAP
one.
when you make a new thread you have the option of making it a 'question'. If
you do that then there will be an icon next to each post to mark them as
correct or mostly correct.
Think its too late now though :)
-
Posted via Jive
Log in as administrator. That could help.
--
Zeljko Filipin
zeljkofilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
there is also a gmail library for ruby which is really easy to use
I think its called gmailer or ruby-gmailer
- Original Message -
From: Prema Arya
To: wtr-general@rubyforge.org
Sent: Friday, February 09, 2007 12:56 AM
Subject: Re: [Wtr-general] Send email from Watir script
I was browsing true Watir General forum at OpenQA Forums and I wonder how to
mark Charley's answer as correct. I am logged in (I can edit my posts). I
thought I would see something like "mark as correct" somewhere, but I can
not find it.
Or is it something that forum administrator does?
--
Zeljko
i got more information. When i type ie.show_links on irb i got this :
[b]
irb(main):006:0> ie.show_links
index nameid href
text/src
1 http://forums.int.sncf.fr/
/ http://localhost:7001/Jsp/images/ent_forum_off.gif
2
Charley and Bret,
Thank you. If I took a better look at Pickaxe I would save some of your
time. I was trying this (and of course it did not work). If I posted this in
my original post, maybe my mistake would be clearer to you.
div(:name => 'foo', :index => 2)
def div(first, second)
hash = {fir
Hello,
I got a problem, i don't find how to click on a hypertext link
[b]
Symbole
input type="text" name="critere.symbol.symbole" maxlength="10"
size="10" value="" readonly="readonly"> a href="Javascript:selection(null,
'critere.symbol.symbole','distinct symb,\'(\' || symb || \')\
Hi,
You don't need a free smtp server if you are having one in your network,
it's the same as you are using for your email client like Outlook. If you
are sending mail to same network you don't need to login in your mail
server, you can directly send mail to anyone using the same mail server
Net
29 matches
Mail list logo