Re: [Wtr-general] I am a newb

2006-09-05 Thread David
Doesnt work - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=3917messageID=10851#10851 ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] I am a newb

2006-09-05 Thread David
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

Re: [Wtr-general] I am a newb

2006-09-05 Thread Cain, Mark
] [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

Re: [Wtr-general] I am a newb

2006-09-05 Thread Zeljko Filipin
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

Re: [Wtr-general] I am a newb

2006-09-05 Thread David
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

Re: [Wtr-general] I am a newb

2006-09-02 Thread Lonny Eachus
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

[Wtr-general] I am a newb

2006-09-01 Thread David
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

Re: [Wtr-general] I am a newb

2006-09-01 Thread Chris McMahon
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

Re: [Wtr-general] I am a newb

2006-09-01 Thread Cain, Mark
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

Re: [Wtr-general] I am a newb

2006-09-01 Thread Phlip
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

Re: [Wtr-general] I am a newb

2006-09-01 Thread Paul Carvalho
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. ___

Re: [Wtr-general] I am a newb

2006-09-01 Thread Phlip
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!!

Re: [Wtr-general] I am a newb

2006-09-01 Thread David
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

Re: [Wtr-general] I am a newb

2006-09-01 Thread Cain, Mark
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

Re: [Wtr-general] I am a newb

2006-09-01 Thread Chris McMahon
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=""

Re: [Wtr-general] I am a newb

2006-09-01 Thread Attebery, Bill
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

Re: [Wtr-general] I am a newb

2006-09-01 Thread Paul Rogers
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

Re: [Wtr-general] I am a newb

2006-09-01 Thread David
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

Re: [Wtr-general] I am a newb

2006-09-01 Thread Chris McMahon
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

Re: [Wtr-general] I am a newb

2006-09-01 Thread Phlip
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

Re: [Wtr-general] I am a newb

2006-09-01 Thread Chris McMahon
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

Re: [Wtr-general] I am a newb

2006-09-01 Thread Lonny Eachus
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.