Doesnt work
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=3917messageID=10851#10851
___
Wtr-general mailing list
Wtr-general@rubyforge.org
I cant pull up irb. I am in the command prompt, it is defaulted at
C:\Documents and Settings\user I have typed in irb here, I have changed the
directory to just C:\ and tried.
-
Posted via Jive Forums
]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Sent: Tuesday, September 05, 2006 7:19 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] I am a newb
I cant pull up irb. I am in the command prompt, it is defaulted at
C:\Documents and Settings\user I have typed in irb here, I have
changed
David,what do you do (exactly) and what happens when you do it? This is how I open irb:- click start- click Run...- type cmd in Open: text field- press enter
- command prompt window opens with text:Microsoft Windows XP [Version 5.1.2600](C) Copyright 1985-2001 Microsoft Corp.C:\Documents and
1 javascript:logout();
Log Out
2 http://www2.lymba.com/test/propmen3/documents/Pana
lyst_UserGuide.pdfUser Guide (PDF)
3 http://www2.lymba.com/test/propmen3/documents/Pana
lyst_UserGuide.pdfUser Guide
4
of getting shot at, for giving someone good
advice which I had very good reason to give the way I did. Why could
you not just leave it alone?
Lonny Eachus
=
Subject:
Re: [Wtr-general] I am a newb
From:
"Paul Carvalho&qu
Ok so I just started using ruby and watir, when I say just started I mean no
programming experience. The company I work for has me using/learning Watir. I
can't make it click a button. I can make it click other buttons though. The
software we developed doesnt use buttons per say, but something
On 9/1/06, David [EMAIL PROTECTED] wrote:
Ok so I just started using ruby and watir, when I say just started I mean no programming experience. Welcome!
The company I work for has me using/learning Watir. I can't make it click a button. I can make it click other buttons though. The software we
Sent: Friday, September 01, 2006 9:11 AM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] I am a newb
Ok so I just started using ruby and watir, when I say just started I
mean no programming experience. The company I work for has me
using/learning Watir. I can't make it click a button. I can
GUI testers:
David has asked how to start using Watir to drive a website and test it.
To the David: Read a book about Ruby ASAP!
To the Ruby users: Where's the nearest ProgrammingRuby.chm for the OP?
Does Watir come with it?
Next topic: If anyone here uses the TFUI reveal() technique, could
On 01/09/06, Phlip [EMAIL PROTECTED] wrote:
To the Ruby users: Where's the nearest ProgrammingRuby.chm for the OP?Does Watir come with it?Should be installed with Ruby itself. On my hard drive, I found a copy located in the /ruby/doc folder.
___
Paul Carvalho wrote:
Should be installed with Ruby itself. On my hard drive, I found a copy
located in the /ruby/doc folder.
Ouch right just found it: C:/ruby/doc/ProgrammingRuby.chm
I gave up too soon.
--
Phlip
http://c2.com/cgi/wiki?ZeekLand -- NOT a blog!!
I want to say thanks to everyone, I am trying to understand. With the
$ie.button(:index, 2).click command how does it know that it is looking for
Cancel. This is the html source I am trying to pull from:
a class=right button id=sessionDialogCancel
href=JavaScript:hideSessionDialog();Cancel/a
PROTECTED] On Behalf Of David
Sent: Friday, September 01, 2006 11:20 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] I am a newb
I want to say thanks to everyone, I am trying to understand. With the
$ie.button(:index, 2).click command how does it know that it is looking
for Cancel
On 9/1/06, David [EMAIL PROTECTED] wrote:
I want to say thanks to everyone, I am trying to understand. With the $ie.button(:index, 2).click command how does it know that it is looking for Cancel. This is the html source I am trying to pull from:a class=right button id=sessionDialogCancel href=""
this looks like a link, not a button.
try ie.link(:text, 'Cancel').click
or ie.link(:index, index).click where index is the 1-based number of
this link in the page (as described for button using index previously)
a class=right button id=sessionDialogCancel
thats a link, so
ie.link(:id , "sessionDialogCancel" ).flash is what you need
- Original Message -
From:
Chris McMahon
To: wtr-general@rubyforge.org
Sent: Friday, September 01, 2006 12:40
PM
Subject: Re: [Wtr-general] I am a
newb
On 9/1
Apparently I need more help than thought. I have tried all of the ideas every
one has given me(thank you). I am still unclear on how to use index or flash
method. The button or link I am trying to get to, I have done many others just
like it, but for some reason I cant get it to press cancel
Try this. Bring up a command prompt and type irb (this is the interactive Ruby shell)and type the following commands. (instead of http://google.com, though, type in the address of your page. Do you see your link in the output from
ie.show_links? If you send that to the list, we might be able to
Attebery, Bill wrote:
If you have more than one link with 'Cancel' as the text -- it probably
is grabbing a different one is you use
ie.link(:text, 'Cancel').click
In that case you need to uniquely identify it, and may need to use the
index.
Try this:
get the page to where this link
bring up a CMD shell; type irb; you;ll get a prompt like irb(main):001:0then issue the commands noted above.On 9/1/06,
David [EMAIL PROTECTED] wrote:
I dont know how to pull up irb, i know how to get into ruby though. I think the real programmer that helped me set up ruby and watir didnt follow
David, sometimes these people forget what it is like to be a newb, and
give you specific information might be helpful *IF* you had a context in
which to put it. From what you say, it appears you need some more
general information first.
Watir can find elements on a page in a variety of ways.
22 matches
Mail list logo