RE: [Wtr-general] installer issues

2005-08-20 Thread Bret Pettichord

At 04:37 PM 8/20/2005, Jonathan Kohl wrote:

To be fair, those were emailed to me by a developer. :)


Then he has even less of an excuse. heh.


_
 Bret Pettichord
 www.pettichord.com

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


RE: [Wtr-general] installer issues

2005-08-20 Thread Jonathan Kohl
 
> P.S. Since i teach classes on effective bug reporting, i 
> thought i might cite the second report below as a particular 
> good example of a common mistake than many people make in 
> their bug reports. It is vague on specifics around the actual 
> error message ("or something to that effect") and long on 
> guesses as to what the source of the problem might be.
To be fair, those were emailed to me by a developer. :)

-Jonathan

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] installer issues

2005-08-19 Thread Bret Pettichord

At 03:07 PM 8/19/2005, Jeff Wood wrote:

So, I'll use that as a basis, but I'm still going to do the actual
demo against one of the in-house web apps ... that way people get more
buy-in ...


I completely agree.

Also, I do have a question about the docs for WATiR ... I haven't

found a good place that lists all of the "how" criteria for the
different objects...

If there's anything good for this somewhere, please let me know ...


The Watir API Doc, AKA the RDOC, is the prolly the best place for this.

Eventually, i'd liek to allow any property of an element (e.g. title, 
class_name, text...) be able to be used to specify it.


Bret



_
 Bret Pettichord
 www.pettichord.com

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] installer issues

2005-08-19 Thread Jeff Wood
Bret,

Thank you for the link to Paul's site ... He's got some good stuff in
his watir-5 pdf copy of his presentation...

So, I'll use that as a basis, but I'm still going to do the actual
demo against one of the in-house web apps ... that way people get more
buy-in ...

Thanks so much ... 

Also, I do have a question about the docs for WATiR ... I haven't
found a good place that lists all of the "how" criteria for the
different objects...

If there's anything good for this somewhere, please let me know ...
Paul's pdf had a good start on this ...

j.

On 8/19/05, Bret Pettichord <[EMAIL PROTECTED]> wrote:
> At 08:20 AM 8/19/2005, Jeff Wood wrote:
> >Ok, I looked at that stuff ... and unfortunately ... It looks like this
> >tutorial is meant as a day-long kinda class ... I only have 1-2 hours ...
> >
> >So, I'm going to include documentation on getting Ruby & WATiR installed
> >under Windows ...  And I'm going to show them irb and doing live testing
> >with it. as well as using the Test::Unit framework.
> >
> >I'll do some simple tests of some of the web-based interfaces around the
> >company.
> 
> 
> There are also some slide decks in there you may want to use.
> 
> And more here: http://members.shaw.ca/paul_rogers/index.html
> 
> 
> _
>   Bret Pettichord
>   www.pettichord.com
> 
> ___
> Wtr-general mailing list
> Wtr-general@rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
> 


-- 
"So long, and thanks for all the fish"

Jeff Wood

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] installer issues

2005-08-19 Thread Bret Pettichord

At 08:20 AM 8/19/2005, Jeff Wood wrote:
Ok, I looked at that stuff ... and unfortunately ... It looks like this 
tutorial is meant as a day-long kinda class ... I only have 1-2 hours ...


So, I'm going to include documentation on getting Ruby & WATiR installed 
under Windows ...  And I'm going to show them irb and doing live testing 
with it. as well as using the Test::Unit framework.


I'll do some simple tests of some of the web-based interfaces around the 
company.



There are also some slide decks in there you may want to use.

And more here: http://members.shaw.ca/paul_rogers/index.html


_
 Bret Pettichord
 www.pettichord.com

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] installer issues

2005-08-19 Thread Bret Pettichord

At 12:21 AM 8/19/2005, Jeff Wood wrote:
The problem is quite easy to fix, simply add require 'rubygems' right 
before the require 'fox' line Everything works from there.


ok. i've committed this fix.


_
 Bret Pettichord
 www.pettichord.com

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] installer issues

2005-08-19 Thread Bret Pettichord

At 07:58 AM 8/19/2005, Jeff Wood wrote:
Thanks for the link ... I feel a bit dumb for not recogniting that package 
to be exactly that... So, the 101 stuff is based on WATiR 1.3.1 ... Is an 
update to 1.4 due ? or would that be a good thing to contribute back?


I think it works with 1.4 also, already. If not, fixes or reports would be 
appreciated.



_
 Bret Pettichord
 www.pettichord.com

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] installer issues

2005-08-19 Thread Jeff Wood




Jeff Wood wrote:

  
  
Zeljko Filipin wrote:
  
Go to http://rubyforge.org/projects/wtr/ > Latest File Releases >
scripting101 > Download

or just click http://rubyforge.org/frs/?group_id=104&release_id=2516 .

As far as I remember, there are materials that could help you.

Zeljko



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Jeff Wood
Sent: Friday, August 19, 2005 7:17 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] installer issues

	Bret,
	
	If you have any, I would really appreciate any materials you could
send my way to help me teach a class on WATiR ... I'm sure I can some up
with some, but if you have some already, it would save me time.
	
	I'm going to give a learning session on it, and I expect attendance
to be between 100 & 200 people ( could be more )...
	
	So, as you can see, it gives me a great chance to evangelize & help
get more folks in the ruby way ...
	
	Thanks in advance for your time.
	
	j.
	
	


___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

  
  
  Thanks for the link ... I
feel a bit dumb for not recogniting that package to be exactly that...
So, the 101 stuff is based on WATiR 1.3.1 ... Is an update to 1.4 due ?
or would that be a good thing to contribute back?
  
j.
  
  
  

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
  

Ok, I looked at that stuff
... and unfortunately ... It looks like this tutorial is meant as a
day-long kinda class ... I only have 1-2 hours ...

So, I'm going to include documentation on getting Ruby & WATiR
installed under Windows ...  And I'm going to show them irb and doing
live testing with it. as well as using the Test::Unit framework.

I'll do some simple tests of some of the web-based interfaces around
the company.

Thanks for the reference though.

j.




___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] installer issues

2005-08-19 Thread Jeff Wood




Zeljko Filipin wrote:

  Go to http://rubyforge.org/projects/wtr/ > Latest File Releases >
scripting101 > Download

or just click http://rubyforge.org/frs/?group_id=104&release_id=2516 .

As far as I remember, there are materials that could help you.

Zeljko



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Jeff Wood
Sent: Friday, August 19, 2005 7:17 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] installer issues

	Bret,
	
	If you have any, I would really appreciate any materials you could
send my way to help me teach a class on WATiR ... I'm sure I can some up
with some, but if you have some already, it would save me time.
	
	I'm going to give a learning session on it, and I expect attendance
to be between 100 & 200 people ( could be more )...
	
	So, as you can see, it gives me a great chance to evangelize & help
get more folks in the ruby way ...
	
	Thanks in advance for your time.
	
	j.
	
	


___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

  

Thanks for the link ... I
feel a bit dumb for not recogniting that package to be exactly that...
So, the 101 stuff is based on WATiR 1.3.1 ... Is an update to 1.4 due ?
or would that be a good thing to contribute back?

j.




___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


RE: [Wtr-general] installer issues

2005-08-19 Thread Zeljko Filipin
Go to http://rubyforge.org/projects/wtr/ > Latest File Releases >
scripting101 > Download

or just click http://rubyforge.org/frs/?group_id=104&release_id=2516 .

As far as I remember, there are materials that could help you.

Zeljko



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff Wood
Sent: Friday, August 19, 2005 7:17 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] installer issues

Bret,

If you have any, I would really appreciate any materials you could
send my way to help me teach a class on WATiR ... I'm sure I can some up
with some, but if you have some already, it would save me time.

I'm going to give a learning session on it, and I expect attendance
to be between 100 & 200 people ( could be more )...

So, as you can see, it gives me a great chance to evangelize & help
get more folks in the ruby way ...

Thanks in advance for your time.

j.




___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] installer issues

2005-08-18 Thread Jeff Wood




Bret Pettichord wrote:
I just installed Ruby 182-15 and then Watir 1.4 and did
not have any problems. All the unit tests (but the three frame tests --
a known issue) ran without problem. I did not need to add require
'rubygems'. I'm pretty sure that Fox was a gem in 182-14 as well.
  
  
The second problem cited below, regarding LoadLibrary not working when
there are spaces, would not be a Watir problem. But a Ruby problem. If
someone wants to track this down, they should report it to the Ruby
Installer team. If we confirm this doesn't work, i suppose we could
update our install docs.
  
  
For a while now, installing Ruby sets environment variable RUBYOPT to
rubygems. If someone did not have administrator privileges then they
would not get this setting and i could imagine that they would run into
problems like those detailed below.
  
  
* You must install as administrator on Windows NT,
  
  2000, and XP in order for path and environment
  
  variable settings to take effect.
  
  
So far, i haven't taken the time to understand how Ruby and Watir work
in a non-administrator environment and haven't taken the time to
support it. I see that this is not documented in the readme, so i can
update that. If someone wants to investigate running watir and ruby in
a non-admin environment and give a detailed report as to whether it can
be made to work, that would be appreciated. Do we want to support this
kind of environment? Wouldn't this mean that ruby would not be in your
path? Sounds like a headache to me.
  
  
Several people have suggested that we replace our current Watir
installer with a nullsoft installer (in addition to creating a Gem). I
think that's the general direction i'd like to move, rather than try to
bulletproof our current installer (which is admitedly shaky).
  
  
If there are more reports of problems, i would like to see them. Actual
error messages and details as to exactly when they occur would be
extremely helpful.
  
  
Bret
  
  
P.S. Since i teach classes on effective bug reporting, i thought i
might cite the second report below as a particular good example of a
common mistake than many people make in their bug reports. It is vague
on specifics around the actual error message ("or something to that
effect") and long on guesses as to what the source of the problem might
be.
  
  
At 10:32 PM 8/18/2005, Jeff Wood wrote:
  
  Jonathan Kohl wrote:

I am getting some emails reporting a couple
of issues. The first is from folks trying to install Watir with Ruby
182-15. They get an error message about the installer not being able to
find Fox. Looks like Fox is now installed as a Gem, so one must also
require rubygems in the installer. We should figure out a way to clean
this up; I'm wondering how many new users are running into this, not
telling us and moving on in frustration.
  
  
Here are two issues that were last emailed to me:
  
  
I installed the 182-15 one-click Ruby build to start. When I tried to
install watir using install.rb, the install failed because the Fox gui
libraries couldn't be found. This seems likely to be a problem with the
ruby installation not working correctly. The installer mentioned
something about running a "command line" version of the installer, but
it wasn't obvious where that might be and your documentation didn't
mention anything about it either. So, I figured that 182-15 was shot
just like 182-13 is. :)
  
  
- After downloading and installing 182-14, I was able to get the watir
installer to start up and run. However, during the installation, I got
a dialog saying that a LoadLibrary("c:\Programs") failed (or something
to that effect). This is because I installed Ruby in "C:\Program
Files\Ruby" and watir in "C:\Program Files\Ruby\watir" initially (since
I don't like to clutter up C:\ and D:\). I'm guessing that the load
library call can't handle the space in the directory name. This could
be a watir install problem (improper string quoting/escaping) or a ruby
load library problem I guess.
  
  
These have been popping up on the email list as well lately. Any
thoughts or ideas on fixes?
  
  
Thanks;
  
  
-Jonathan
  
  
  
  
  
___
  
Wtr-general mailing list
  
Wtr-general@rubyforge.org
  
http://rubyforge.org/mailman/listinfo/wtr-general
  
  

The problem is quite easy to fix, simply add require 'rubygems' right
before the require 'fox' line Everything works from there.


j.


___

Wtr-general mailing list

Wtr-general@rubyforge.org

http://rubyforge.org/mailman/listinfo/wtr-general

  
  
_
  
 Bret Pettichord
  
 www.pettichord.com
  
  
___
  
Wtr-general mailing list
  
Wtr-general@rubyforge.org
  
http://rubyforge.org/mailman/listinfo/wtr-general
  
  

BTW ... reg

Re: [Wtr-general] installer issues

2005-08-18 Thread Jeff Wood




Bret Pettichord wrote:
I just installed Ruby 182-15 and then Watir 1.4 and did
not have any problems. All the unit tests (but the three frame tests --
a known issue) ran without problem. I did not need to add require
'rubygems'. I'm pretty sure that Fox was a gem in 182-14 as well.
  
  
The second problem cited below, regarding LoadLibrary not working when
there are spaces, would not be a Watir problem. But a Ruby problem. If
someone wants to track this down, they should report it to the Ruby
Installer team. If we confirm this doesn't work, i suppose we could
update our install docs.
  
  
For a while now, installing Ruby sets environment variable RUBYOPT to
rubygems. If someone did not have administrator privileges then they
would not get this setting and i could imagine that they would run into
problems like those detailed below.
  
  
* You must install as administrator on Windows NT,
  
  2000, and XP in order for path and environment
  
  variable settings to take effect.
  
  
So far, i haven't taken the time to understand how Ruby and Watir work
in a non-administrator environment and haven't taken the time to
support it. I see that this is not documented in the readme, so i can
update that. If someone wants to investigate running watir and ruby in
a non-admin environment and give a detailed report as to whether it can
be made to work, that would be appreciated. Do we want to support this
kind of environment? Wouldn't this mean that ruby would not be in your
path? Sounds like a headache to me.
  
  
Several people have suggested that we replace our current Watir
installer with a nullsoft installer (in addition to creating a Gem). I
think that's the general direction i'd like to move, rather than try to
bulletproof our current installer (which is admitedly shaky).
  
  
If there are more reports of problems, i would like to see them. Actual
error messages and details as to exactly when they occur would be
extremely helpful.
  
  
Bret
  
  
P.S. Since i teach classes on effective bug reporting, i thought i
might cite the second report below as a particular good example of a
common mistake than many people make in their bug reports. It is vague
on specifics around the actual error message ("or something to that
effect") and long on guesses as to what the source of the problem might
be.
  
  
At 10:32 PM 8/18/2005, Jeff Wood wrote:
  
  Jonathan Kohl wrote:

I am getting some emails reporting a couple
of issues. The first is from folks trying to install Watir with Ruby
182-15. They get an error message about the installer not being able to
find Fox. Looks like Fox is now installed as a Gem, so one must also
require rubygems in the installer. We should figure out a way to clean
this up; I'm wondering how many new users are running into this, not
telling us and moving on in frustration.
  
  
Here are two issues that were last emailed to me:
  
  
I installed the 182-15 one-click Ruby build to start. When I tried to
install watir using install.rb, the install failed because the Fox gui
libraries couldn't be found. This seems likely to be a problem with the
ruby installation not working correctly. The installer mentioned
something about running a "command line" version of the installer, but
it wasn't obvious where that might be and your documentation didn't
mention anything about it either. So, I figured that 182-15 was shot
just like 182-13 is. :)
  
  
- After downloading and installing 182-14, I was able to get the watir
installer to start up and run. However, during the installation, I got
a dialog saying that a LoadLibrary("c:\Programs") failed (or something
to that effect). This is because I installed Ruby in "C:\Program
Files\Ruby" and watir in "C:\Program Files\Ruby\watir" initially (since
I don't like to clutter up C:\ and D:\). I'm guessing that the load
library call can't handle the space in the directory name. This could
be a watir install problem (improper string quoting/escaping) or a ruby
load library problem I guess.
  
  
These have been popping up on the email list as well lately. Any
thoughts or ideas on fixes?
  
  
Thanks;
  
  
-Jonathan
  
  
  
  
  
___
  
Wtr-general mailing list
  
Wtr-general@rubyforge.org
  
http://rubyforge.org/mailman/listinfo/wtr-general
  
  

The problem is quite easy to fix, simply add require 'rubygems' right
before the require 'fox' line Everything works from there.


j.


___

Wtr-general mailing list

Wtr-general@rubyforge.org

http://rubyforge.org/mailman/listinfo/wtr-general

  
  
_
  
 Bret Pettichord
  
 www.pettichord.com
  
  
___
  
Wtr-general mailing list
  
Wtr-general@rubyforge.org
  
http://rubyforge.org/mailman/listinfo/wtr-general
  
  

Bret,

If y

Re: [Wtr-general] installer issues

2005-08-18 Thread Bret Pettichord
I just installed Ruby 182-15 and then Watir 1.4 and did not have any 
problems. All the unit tests (but the three frame tests -- a known issue) 
ran without problem. I did not need to add require 'rubygems'. I'm pretty 
sure that Fox was a gem in 182-14 as well.


The second problem cited below, regarding LoadLibrary not working when 
there are spaces, would not be a Watir problem. But a Ruby problem. If 
someone wants to track this down, they should report it to the Ruby 
Installer team. If we confirm this doesn't work, i suppose we could update 
our install docs.


For a while now, installing Ruby sets environment variable RUBYOPT to 
rubygems. If someone did not have administrator privileges then they would 
not get this setting and i could imagine that they would run into problems 
like those detailed below.


* You must install as administrator on Windows NT,
  2000, and XP in order for path and environment
  variable settings to take effect.

So far, i haven't taken the time to understand how Ruby and Watir work in a 
non-administrator environment and haven't taken the time to support it. I 
see that this is not documented in the readme, so i can update that. If 
someone wants to investigate running watir and ruby in a non-admin 
environment and give a detailed report as to whether it can be made to 
work, that would be appreciated. Do we want to support this kind of 
environment? Wouldn't this mean that ruby would not be in your path? Sounds 
like a headache to me.


Several people have suggested that we replace our current Watir installer 
with a nullsoft installer (in addition to creating a Gem). I think that's 
the general direction i'd like to move, rather than try to bulletproof our 
current installer (which is admitedly shaky).


If there are more reports of problems, i would like to see them. Actual 
error messages and details as to exactly when they occur would be extremely 
helpful.


Bret

P.S. Since i teach classes on effective bug reporting, i thought i might 
cite the second report below as a particular good example of a common 
mistake than many people make in their bug reports. It is vague on 
specifics around the actual error message ("or something to that effect") 
and long on guesses as to what the source of the problem might be.


At 10:32 PM 8/18/2005, Jeff Wood wrote:

Jonathan Kohl wrote:
I am getting some emails reporting a couple of issues. The first is from 
folks trying to install Watir with Ruby 182-15. They get an error message 
about the installer not being able to find Fox. Looks like Fox is now 
installed as a Gem, so one must also require rubygems in the installer. 
We should figure out a way to clean this up; I'm wondering how many new 
users are running into this, not telling us and moving on in frustration.


Here are two issues that were last emailed to me:

I installed the 182-15 one-click Ruby build to start. When I tried to 
install watir using install.rb, the install failed because the Fox gui 
libraries couldn't be found. This seems likely to be a problem with the 
ruby installation not working correctly. The installer mentioned 
something about running a "command line" version of the installer, but it 
wasn't obvious where that might be and your documentation didn't mention 
anything about it either. So, I figured that 182-15 was shot just like 
182-13 is. :)


- After downloading and installing 182-14, I was able to get the watir 
installer to start up and run. However, during the installation, I got a 
dialog saying that a LoadLibrary("c:\Programs") failed (or something to 
that effect). This is because I installed Ruby in "C:\Program Files\Ruby" 
and watir in "C:\Program Files\Ruby\watir" initially (since I don't like 
to clutter up C:\ and D:\). I'm guessing that the load library call can't 
handle the space in the directory name. This could be a watir install 
problem (improper string quoting/escaping) or a ruby load library problem 
I guess.


These have been popping up on the email list as well lately. Any thoughts 
or ideas on fixes?


Thanks;

-Jonathan




___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

The problem is quite easy to fix, simply add require 'rubygems' right 
before the require 'fox' line Everything works from there.


j.

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


_
 Bret Pettichord
 www.pettichord.com

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] installer issues

2005-08-18 Thread Jeff Wood




Jonathan Kohl wrote:

  
  
  I
am getting some emails reporting a couple of issues. The first is from
folks trying to install Watir with Ruby 182-15. They get an error
message about the installer not being able to find Fox. Looks like Fox
is now installed as a Gem, so one must also require rubygems in the
installer. We should figure out a way to clean this up; I'm wondering
how many new users are running into this, not telling us and moving on
in frustration.
   
  Here
are two issues that were last emailed to me:
  
  I installed the 182-15 one-click Ruby build to
start. When I tried to install watir using install.rb, the install
failed because the Fox gui libraries couldn't be found. This seems
likely to be a problem with the ruby installation not working
correctly. The installer mentioned something about running a "command
line" version of the installer, but it wasn't obvious where that might
be and your documentation didn't mention anything about it either. So,
I figured that 182-15 was shot just like 182-13 is. :)
  - After downloading and installing 182-14, I was
able to get the watir installer to start up and run. However, during
the installation, I got a dialog saying that a
LoadLibrary("c:\Programs") failed (or something to that effect). This
is because I installed Ruby in "C:\Program Files\Ruby" and watir in
"C:\Program Files\Ruby\watir" initially (since I don't like to clutter
up C:\ and D:\). I'm guessing that the load library call can't handle
the space in the directory name. This could be a watir install problem
(improper string quoting/escaping) or a ruby load library problem I
guess.
  These
have been popping up on the email list as well lately. Any thoughts or
ideas on fixes?
  Thanks;
  -Jonathan
  
  

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
  

The problem is quite easy to
fix, simply add require 'rubygems' right before the require 'fox'
line Everything works from there.

j.




___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general