Re: [Wtr-general] New Watir User Guide (beta)

2007-06-21 Thread Jeff Fry
On 5/18/07, Bret Pettichord <[EMAIL PROTECTED]> wrote: There are consequences to including modules that people should understand before they make casual use of it. You are collapsing the namespace and you need to know that you won't create any unexpected collisions when you do this. For example

Re: [Wtr-general] New Watir User Guide (beta)

2007-06-21 Thread Željko Filipin
I have just made a few changes to user guide. I have separated it to Installation and Quick Start. Next I plan to add more pages. Plese take a look and let me know if there are any mistakes, typos... Of course, you can also change it yourself. It is a wiki page, after all. Since I am not a native

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-19 Thread jim_matt
ill wait a long time for http://www.google.com. Jim - Original Message - From: Željko Filipin To: wtr-general@rubyforge.org Sent: Saturday, May 19, 2007 1:45 AM Subject: Re: [Wtr-general] New Watir User Guide (beta) On 5/18/07, Chris McMahon <[EMAIL PROTECTED]> wrote: ie = IE

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-19 Thread jim_matt
: Saturday, May 19, 2007 1:41 AM Subject: Re: [Wtr-general] New Watir User Guide (beta) On 5/18/07, Chris McMahon <[EMAIL PROTECTED]> wrote: include Watir (it's magic anyway, it won't hurt) ie = IE.new (let people see a blank browser) I have just checked my test s

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Željko Filipin
On 5/18/07, Chris McMahon <[EMAIL PROTECTED]> wrote: ie = IE.new (let people see a blank browser) ie.goto("http://www.google.com";) I have been thinking about this again. Do you ever do something with an empty browser? Every time I open a browser, I immediately go to a web page. I am thinking

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Željko Filipin
On 5/18/07, Chris McMahon <[EMAIL PROTECTED]> wrote: include Watir (it's magic anyway, it won't hurt) ie = IE.new (let people see a blank browser) I have just checked my test suite, and I have only one ie = Watir::IE.new After that i just use ie variable. I guess that others may have diffe

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Bret Pettichord
Chris McMahon wrote: >> From my perspective, I always start out by requiring and including watir, >> because I'd rather paste it into the top of a script once than have to type >> Watir:: several times below. >> >> I was planning to say that I'd love to have watir automatically included >> whenever

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Chris McMahon
> From my perspective, I always start out by requiring and including watir, > because I'd rather paste it into the top of a script once than have to type > Watir:: several times below. > > I was planning to say that I'd love to have watir automatically included > whenever I require it...but that mi

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Jeff Fry
On 5/18/07, Bret Pettichord <[EMAIL PROTECTED]> wrote: If we are going to tell everyone to do 'include Watir', then we could make things easier by putting just this line of code in watir.rb and have it execute automatically when the 'require "watir"' happens. Huh, could you do that? Here ar

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Christopher Rasch
Željko Filipin wrote: > On 5/18/07, Željko Filipin <[EMAIL PROTECTED]> wrote: >> >> Christopher Rasch added anchors for installation instructions for >> platforms and browsers other than Windows/IE. > > > Christopher, > > I have moved your contribution to > http://wiki.openqa.org/display/WTR/Ins

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Bret Pettichord
Chris McMahon wrote: > I just think > ie = IE.new > > is nicer than > > ie = Watir::IE.new > If we are going to tell everyone to do 'include Watir', then we could make things easier by putting just this line of code in watir.rb and have it execute automatically when the 'require "watir"' happe

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Chris McMahon
I just think ie = IE.new is nicer than ie = Watir::IE.new On 5/18/07, Željko Filipin <[EMAIL PROTECTED]> wrote: > On 5/18/07, Chris McMahon <[EMAIL PROTECTED]> wrote: > > I meant "to the new user, all of this looks like magic, so we might as > > well break down the Watir setup commands in as g

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Željko Filipin
On 5/18/07, Chris McMahon <[EMAIL PROTECTED]> wrote: I meant "to the new user, all of this looks like magic, so we might as well break down the Watir setup commands in as granular a fashion as possible" I did not think to learn them Ruby. There are good books about it. When they see how easy

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Chris McMahon
I meant "to the new user, all of this looks like magic, so we might as well break down the Watir setup commands in as granular a fashion as possible" On 5/18/07, Bret Pettichord <[EMAIL PROTECTED]> wrote: > Chris McMahon wrote: > > Eh. I had the opposite experience. It made me go read about what a

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Bret Pettichord
Chris McMahon wrote: > Eh. I had the opposite experience. It made me go read about what a > Module is. They why did you say "it's magic anyway"? ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Chris McMahon
> My experience is that the "include Watir" line is never understood and > in fact people end up thinking that it is some kind of magic. That, to > me, is a reason to avoid it. Eh. I had the opposite experience. It made me go read about what a Module is. _

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Željko Filipin
On 5/18/07, Walter Kruse <[EMAIL PROTECTED]> wrote: I don't know what it does, except that you need it to load watir when using irb :-) I guess that you are referring to include Watir Actually, you do not have to type it when using Watir in irb (as my user guide shows). Zeljko

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Walter Kruse
I don't know what it does, except that you need it to load watir when using irb :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord Sent: 18 May 2007 03:14 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] New Watir User

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Bret Pettichord
Walter Kruse wrote: > > require 'watir' > include Watir (it's magic anyway, it won't hurt) > ie = IE.new (let people see a blank browser) > ie.goto("http://www.google.com ") > > Show people the steps and show them later how to abbreviate it with a > small explanation of the

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Željko Filipin
Chris, Walter, I separated steps for starting IE and navigating to Google, as you have suggested. That means that you have become contributor of Watir user guide. Now you can put "Certified Watir user guide contributor!" text at your site (with link to user guide, if possible). :) Zeljko _

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Željko Filipin
On 5/18/07, Chris McMahon <[EMAIL PROTECTED]> wrote: include Watir (it's magic anyway, it won't hurt) ie = IE.new (let people see a blank browser) I still do not think this easier to understand than ie = Watir::IE.new I do not know how to explain what it does in few words, except "start IE

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Željko Filipin
On 5/18/07, Željko Filipin <[EMAIL PROTECTED]> wrote: Christopher Rasch added anchors for installation instructions for platforms and browsers other than Windows/IE. Christopher, I have moved your contribution to http://wiki.openqa.org/display/WTR/Install+instructions and linked to it from u

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Željko Filipin
On 5/18/07, Željko Filipin <[EMAIL PROTECTED]> wrote: http://wiki.openqa.org/display/WTR/New+Watir+User+Guide+%28beta%29 I just can not look at ugly urls. I had to change it. http://wiki.openqa.org/display/WTR/User+Guide Zeljko ___ Wtr-general mai

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Željko Filipin
And we have the first user contribution! Christopher Rasch added anchors for installation instructions for platforms and browsers other than Windows/IE. It is something that I do not want there, but I guess it has to be somewhere. Christopher, you can put "Certified Watir user guide contributor"

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Walter Kruse
problem solving difficult. My 2 cents. Walter From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Željko Filipin Sent: 18 May 2007 09:40 AM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] New Watir User Guide (beta) Chris, Th

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Željko Filipin
Chris, Thanks for your suggestions. Comments are inline. On 5/18/07, Chris McMahon <[EMAIL PROTECTED]> wrote: Clearly this is going to be iterative :) You don't drink the whole beer at once, right? You iterate until it is done. :) If it were me, I would have done require 'watir' include

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-17 Thread Chris McMahon
On 5/17/07, Željko Filipin <[EMAIL PROTECTED]> wrote: > Can you tell that it is past 1 am here? I forgot the link. Here it is. > > http://wiki.openqa.org/display/WTR/New+Watir+User+Guide+%28beta%29 Clearly this is going to be iterative :) If it were me, I would have done require 'watir' include

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-17 Thread Željko Filipin
Can you tell that it is past 1 am here? I forgot the link. Here it is. http://wiki.openqa.org/display/WTR/New+Watir+User+Guide+%28beta%29 You can also find a link to it at Watir wiki home page ( http://wiki.openqa.org/display/WTR/Project+Home) under Learning Watir headline. _

[Wtr-general] New Watir User Guide (beta)

2007-05-17 Thread Željko Filipin
Don't you just love all those betas? There is another one! New Watir User Guide (beta). Check it out and let me know what you think about it. It is just a first draft. Please, be polite. It is just a few minutes old. Zeljko -- ZeljkoFilipin.com ___ Wtr-