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/Install+instructions and linked to it
 from user guide. If you think install instructions should be in user guide,
 please let me know. I would like to hear from others too.
 
 I hope this will not discourage you (and others) in further
 contributions. I
 have a vague vision how user guide should look, and detailed installation
 instructions for various platforms and browsers just did not fit at that
 page. I am glad that you have contributed it, but I think it should have
 it's own page.
 
 Zeljko
 

Hi Zeljko,

Thanks!  Moving the install instructions to their own page is fine with
me.

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

Re: [Wtr-general] Community involvement with Watir

2007-05-08 Thread Christopher Rasch
Bret Pettichord wrote:
 Christopher Rasch wrote:
 Thanks!  How should we contribute to the User Guide?  It doesn't appear
 to be user editable:

 http://wtr.rubyforge.org/watir_user_guide.html
   
 This HTML file is stored in our SVN  repository.
 
 I think one question Zeljko needs to address is what form he wants it to 
 be. I think he said something about breaking it into separate files, 
 which is fine. Another option is to migrate it to the wiki, which would 
 make eat easier to get contributions from others...


Okay, thanks!  My vote would be to put it in the Wiki.


   
 Yes this is our wiki. Anybody can edit the wiki. If you see something 
 that could be improved please just go ahead and make the change. If you 
 have bold changes you are considering, but would like review first, you 
 can always create a new page with the changes and then solicit review.

Thanks!

 Under what license do you publish the Watir documention? 
   
 I suppose it is covered by the same BSD license that covers the code. 
 Why do you ask? Do you have suggestions or concerns?
 

I want to put a notice that anyone can use the documentation that I
write on my blog, and I wanted to make sure that the license I chose was
compatible with the license for Watir's documentation.

Chris



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


Re: [Wtr-general] Community involvement with Watir

2007-05-07 Thread Christopher Rasch
Charley Baker wrote:
 Hi all,

 I'd like to send out another annoucement asking for people to
 contribute to
 the Watir user guide and volunteer. I've started poking around at the
 user
 guide today and made a few changes, notably to update view source with
 the
 ie developer toolbar. I'll make further changes if as I get time, but am
 making the call for volunteers to add information and help out, much of
 which is related to Watir 1.5. Let me know if you're interested in
 helping
 out. 
Hi Charley,

Thanks!  How should we contribute to the User Guide?  It doesn't appear
to be user editable:

http://wtr.rubyforge.org/watir_user_guide.html

Is this the wiki we should be editing?

http://wiki.openqa.org/display/WTR/Project+Home

Feel free to add my tutorial for installing FireWatir on Mac OS X
(Intel)  (or let me know where I should add it):

http://crasch.livejournal.com/550521.html#cutid1

Under what license do you publish the Watir documention? 

Chris



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


Re: [Wtr-general] Community involvement with Watir

2007-05-07 Thread Christopher Rasch
Chris McMahon wrote:
 Thanks!  How should we contribute to the User Guide?  It doesn't appear
 to be user editable:
 

 I'd suggest either adding to this thread, or contacting Zeljko directly.

   
Thanks!
 Feel free to add my tutorial for installing FireWatir on Mac OS X
 (Intel)  (or let me know where I should add it):

 http://crasch.livejournal.com/550521.html#cutid1
 

 I couldn't get the Linux jssh xpi to function with the lastest osx and
 latest FF.  In another thread (and mentioned to Angrez) I found a
 Darwin jssh that worked properly.
   
Hmm...the only message I could find was this one, which suggest that the
Linux jssh xpi worked. 

On 5/3/07, Angrez Singh [EMAIL PROTECTED] wrote:

  Hi Chris,
 
  Did you tried the XPI at
  http://alephzarro.com/blog/2007/03/12/jssh-for-firefox-on-linux-because-firewatir-loves-it
  Its an XPI for linux but seems to work on Mac OS also (according the link i
  sent you in last mail)
   

Yay!  That one works.  Interestingly, it has the same name as the one
from mozilla, but it behaves differently.
-Chris


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


Re: [Wtr-general] Installing FireWatir on Intel Mac OS X Tiger (Intel)

2007-03-01 Thread Christopher Rasch
Angrez Singh wrote:
 Hi Christopher,
 
 I appreciate your efforts to test FireWatir on Mac.
 I am still not able to get why it is not working, if you are able to 
 connect
 to JSSh?
 
 Do you get any errors on JavaScript console of Firefox because as per
 testing with Dave Hoover the xpi was not getting installed properly on
 Firefox 2.x because its an Firefox 1.5.x xpi. Also some files are 
 missing in
 the xpi that you installed (jssh.jar) file is missing some files? Could you
 try the other version of XPI file i.e.:
 
 http://people.mozilla.org/~davel/jssh/jssh-20060621-Darwin.xpihttp://people.mozilla.org/%7Edavel/jssh/jssh-20060621-Darwin.xpi
  
 
 
 this file contains the correct jssh.jar file.
 
 Let me know how it goes? But once you are connected to jssh it should work.
 
 Can you just manually try sending some javascript commands on the jssh 
 shell
 to which you are connected?
 
 Regards,
 

Hi Angrez,

Thanks for the response!  I'll try the other jssh xpi file, and try to 
send some jssh commands manually.

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


[Wtr-general] Installing FireWatir on Intel Mac OS X Tiger (Intel)

2007-02-26 Thread Christopher Rasch
Hi,



I'm trying to get FireWatir 1.0.1 installed and working on Mac OS X 
Tiger (Intel), v. 10.4.8. However, the unittests won't run, and when I 
try to debug, I'm getting what appear to be errors related to my 
readline installation. I'm documenting the process at my blog:

http://crasch.livejournal.com/522657.html

I've also copied the blog entry below. Anyone have any suggestions for 
what to try next? Thanks!

Chris

About my setup:

Firefox 2.0.0.2
Mac OS X 10.4.8 (Intel)
XCode 2.4.1


Here's what I've done so far:

* Download and install Firefox.

* Install the jssh extension. You can find it here:

http://people.mozilla.org/~davel/jssh/jssh-20060622-Darwin.xpi

To install it, double-click on the link above.

* Start Firefox manually with the jssh extension as follows:

$ cd /Applications/Firefox.app/Contents/MacOS

$ ./firefox -jssh 

* If the jssh installation works, you should be able to telnet to port 
9997:

$ telnet localhost 9997
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Welcome to the Mozilla JavaScript Shell!

* Install the firewatir gem. You can find the gem here:

http://code.google.com/p/firewatir/downloads/list

Once you've downloaded it, cd to the download directory and install as 
follows:

$ cd ~/Desktop
$ sudo gem install --local firewatir-1.0.1-mswin32.gem

You should see:

Password:
Successfully installed firewatir, version 1.0.1
Installing ri documentation for firewatir-1.0.1-mswin32...
Installing RDoc documentation for firewatir-1.0.1-mswin32...

* To test that the unittests have run successfully, go to the unit tests 
directory in the firewatir gem install. Run “ruby mozilla_all_tests.rb” 
to run the unit test cases.

$ ruby mozilla_all_tests.rb
Loaded suite mozilla_all_tests
Started

[At this point, the script just hangs and does nothing until you 
interrupt it. I tried to run it with ruby-debug, by adding the following 
line to setup.rb:

require 'ruby-debug'
debugger

However, when I ran it again, I got the following error:

crasch2:/usr/local/lib/ruby/gems/1.8/gems/firewatir-1.0.1-mswin32/unittests 
crasch$ ruby mozilla_all_tests.rb
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_filename_completion_function
Referenced from: /usr/local/lib/ruby/1.8/i686-darwin8.8.1/readline.bundle
Expected in: flat namespace

Trace/BPT trap

A search for the error message suggests that there is a problem with my 
readline installation. Readline is installed on my machine via ports:

$ port installed
The following ports are currently installed:
...
readline @5.1.004_0 (active)
...

Next I tried to rebuild readline per the instructions on this page:

http://www.nabble.com/Ruby-1.8.4-Mac-OS-X-readline-problems-t801880.html

$ curl -O ftp://ftp.gnu.org/gnu/readline/readline-5.1.tar.gz
$ tar -xzf readline-5.1.tar.gz
$ cd readline-5.1
$ ./configure --prefix=/usr/local
$ make
$ sudo make install

Configuration and compilation seemed to go okay. However, the sudo make 
install output resulted in the following:


/bin/sh ./support/mkinstalldirs /usr/local/include \
/usr/local/include/readline /usr/local/lib \
/usr/local/info /usr/local/man/man3
for f in readline.h chardefs.h keymaps.h history.h tilde.h rlstdc.h 
rlconf.h rltypedefs.h; do \
/usr/bin/install -c -m 644 ./$f /usr/local/include/readline ; \
done
( if test -d doc ; then \
cd doc  \
make infodir=/usr/local/info DESTDIR= install; \
fi )
/bin/sh ../support/mkdirs /usr/local/info /usr/local/man/man3
if test -n  ; then \
/bin/sh ../support/mkdirs ; \
fi
if test -f readline.info; then \
/usr/bin/install -c -m 644 readline.info /usr/local/info/readline.info; \
else \
/usr/bin/install -c -m 644 ./readline.info /usr/local/info/readline.info; \
fi
if test -f rluserman.info; then \
/usr/bin/install -c -m 644 rluserman.info /usr/local/info/rluserman.info; \
else \
/usr/bin/install -c -m 644 ./rluserman.info 
/usr/local/info/rluserman.info; \
fi
if test -f history.info; then \
/usr/bin/install -c -m 644 history.info /usr/local/info/history.info; \
else \
/usr/bin/install -c -m 644 ./history.info /usr/local/info/history.info; \
fi
if /bin/sh -c 'install-info --version' /dev/null 21; then \
install-info --dir-file=/usr/local/info/dir \
/usr/local/info/readline.info ; \
install-info --dir-file=/usr/local/info/dir \
/usr/local/info/history.info ; \
install-info --dir-file=/usr/local/info/dir \
/usr/local/info/rluserman.info ; \
else true; fi
/usr/bin/install -c -m 644 ./readline.3 /usr/local/man/man3/readline.3
/usr/bin/install -c -m 644 ./history.3 /usr/local/man/man3/history.3
if test -n  ; then \
if test -f readline.html; then \
/usr/bin/install -c -m 644 readline.html /readline.html; \
else \
/usr/bin/install -c -m 644 ./readline.html /readline.html; \
fi ; \
if test -f history.html; then \
/usr/bin/install -c -m 644 history.html /history.html; \
else \
/usr/bin/install -c -m 644 ./history.html /history.html; \
fi ; \
if test -f rluserman.html; then \

[Wtr-general] Ruby one click installer not installing images directory in unittests/html/?

2006-08-20 Thread Christopher Rasch
I installed the most recent (as of today) ruby, watir and autoit one
click installers.  I then tried to run all_tests.rb.  However, many of
the unit tests which handle images fail.  Specifically, the tests in the
images_test.rb and table_test.rb files (and maybe others).  I think that
the reason is because the images directory in the
/watir/unittests/hmtl/images directory is not being created or
populated.  Has anyone else observed this? 

Chris 
-- 
  Christopher Rasch
  [EMAIL PROTECTED]

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