[wtr-general] JSSH on FF 3.0.14

2009-11-10 Thread Alexandre

Hi all,
I have 3.0.14-1 firefox on a debian testing box.
Then I installed :
http://wiki.openqa.org/download/attachments/13893658/jssh-20080725-Linux.xpi?version=1

In a terminal I launch the command:
firefox -jssh

Then telnet localhost 9997 is
Unable to connect to remote host: Connection refused

I wonder if this issue depends on my Debian configuration or on my
firefox version.

Thank you for your ideas.

PS: I have another testing debian box that works well with jssh and with
same version of firefox.

-- 
Alexandre Delanoë

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-10 Thread tester86

I removed include Watir now my script is:

require 'watir'
require 'rubygems'
#require win32ole


ie = Watir::IE.new
ie.goto(http://google.com;)

ie.text_field(:name, q).set(watir)
ie.button(:name, btnG).click


I still get the same error message. I am using watir 1.4.1. Below is
my ruby version

C:\rubyruby --version
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]

I have done gem update prevsiously, gem system updates but nothing
works. Any ideas on what I can do to get a basic script up and running
using watir?


On Nov 9, 10:52 pm, Raveendran P jazzezr...@gmail.com wrote:
 Hi,

 Add first line -- require 'rubygems'
 Remove line no.2 -- include Watir

 I hope it works now. If its not working then Please provide more details
 about Watir Verison and Ruby version.

 Thanks





 On Tue, Nov 10, 2009 at 3:19 AM, tester86 sagar.am...@gmail.com wrote:

  I am trying to run a watir script:

  require 'watir'
  include Watir

  ie = Watir::IE.new
  ie.goto(http://google.com;)

  ie.text_field(:name, q).set(watir)
  ie.button(:name, btnG).submit

  when I run it from command line ruby filename.rb I get the following
  error message:

  c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1336:in `method_missing':
  unknown proper
  ty or method `document' (WIN32OLERuntimeError)
     HRESULT error code:0x800706ba
       The RPC server is unavailable.    from c:/ruby/lib/ruby/
  site_ruby/1.8/watir.rb:1336:in `document'
         from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:754:in
  `getContainerContents'
         from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:778:in
  `getObject'
         from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3225:in
  `initialize'
         from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:367:in `new'
         from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:367:in
  `text_field'
         from script1.rb:6

  Any Ideas.?

 --
 Regards,
 P.Raveendranhttp://raveendran.wordpress.com- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-10 Thread tester86

watir 1.4.1

On Nov 9, 9:46 pm, Bret Pettichord b...@pettichord.com wrote:
 What version of Watir are you using?





 tester86 wrote:
  I am trying to run a watir script:

  require 'watir'
  include Watir

  ie = Watir::IE.new
  ie.goto(http://google.com;)

  ie.text_field(:name, q).set(watir)
  ie.button(:name, btnG).submit

  when I run it from command line ruby filename.rb I get the following
  error message:

  c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1336:in `method_missing':
  unknown proper
  ty or method `document' (WIN32OLERuntimeError)
      HRESULT error code:0x800706ba
        The RPC server is unavailable.    from c:/ruby/lib/ruby/
  site_ruby/1.8/watir.rb:1336:in `document'
          from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:754:in
  `getContainerContents'
          from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:778:in
  `getObject'
          from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3225:in
  `initialize'
          from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:367:in `new'
          from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:367:in
  `text_field'
          from script1.rb:6

  Any Ideas.?

 --
 Bret Pettichord
 Lead Developer, Watir,www.watir.com
 Blog,www.io.com/~wazmo/blog
 Twitter,www.twitter.com/bpettichord- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] IRB Console

2009-11-10 Thread tester86

In IRB I get the following message and according to Watir In 5 Minutes
Im guessing my output is incorrect..

irb(main):001:0 require watir
= true
irb(main):002:0 ie = Watir::IE.new
= #Watir::IE:0x825f690 @ie=#WIN32OLE:0x825f640, @error_checkers=
[#Proc:0x0830d...@c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1135],
@logger=#Watir::DefaultLogger:0x825f5f0 @level=2, @progname=nil,
@logdev=#Logger::LogDevice:0x825f58c @shift_size=nil,
@shift_age=nil,@filename=nil,
@mutex=#Logger::LogDevice::LogDeviceMutex:0x825f564 @mon_owner=nil,
@mon_waiting_queue=[], @mon_entering_queue=[], @mon_count=0,
@dev=#IO:0x7916ad4, @formatter=nil,
@default_formatter=#Logger::Formatter:0x825f5b4 @datetime_format=%d-
%b-%Y %H:%M:%S, @defaultSleepTime=0.1,
@activeObjectHighLightColor=yellow, @enable_spinner=false,
@url_list=
[], @typingspeed=0.08, @form=nil
irb(main):003:0

So from my debugging have I set Watir up incorrectly... since my IRB
output is incorrect. Can someone please point me in the right
direction.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-10 Thread tester86

Here is the list of my local gems (just incase its helps)

*** LOCAL GEMS ***

actionmailer (2.3.4)
actionpack (2.3.4)
activerecord (2.3.4)
activeresource (2.3.4)
activesupport (2.3.4)
builder (2.1.2)
camping (1.5.180)
commonwatir (1.6.2)
cucumber (0.4.3)
diff-lcs (1.1.2)
firewatir (1.6.2)
fxri (0.3.7, 0.3.6)
fxruby (1.6.19, 1.6.12)
hoe (2.3.3)
hoe-seattlerb (1.2.1)
hpricot (0.8.2, 0.6)
json_pure (1.1.9)
log4r (1.1.2, 1.0.5)
markaby (0.5)
metaid (1.0)
minitest (1.4.2)
polyglot (0.2.9)
rack (1.0.1)
rails (2.3.4)
rake (0.8.7, 0.7.3)
rspec (1.2.9)
rubyforge (2.0.3)
rubygems-update (1.3.5)
s4t-utils (1.0.4)
session (2.4.0)
sources (0.0.1)
term-ansicolor (1.0.4)
test-spec (0.10.0)
treetop (1.4.2)
user-choices (1.1.6)
watir (1.6.2)
win32-api (1.4.5, 1.0.4)
win32-clipboard (0.5.2, 0.4.3)
win32-dir (0.3.5, 0.3.2)
win32-eventlog (0.5.2, 0.4.6)
win32-file (0.6.3, 0.5.4)
win32-file-stat (1.3.4, 1.2.7)
win32-process (0.6.1, 0.5.3)
win32-sapi (0.1.5, 0.1.4)
win32-sound (0.4.2, 0.4.1)
win32console (1.2.0)
win32ole-pp (1.2.0)
windows-api (0.4.0, 0.2.0)
windows-pr (1.0.8, 0.7.2)
xml-simple (1.0.12)

Is there any gem that I am missing that is causing the error?

On Nov 10, 8:10 am, tester86 sagar.am...@gmail.com wrote:
 I removed include Watir now my script is:

 require 'watir'
 require 'rubygems'
 #require win32ole

 ie = Watir::IE.new
 ie.goto(http://google.com;)

 ie.text_field(:name, q).set(watir)
 ie.button(:name, btnG).click

 I still get the same error message. I am using watir 1.4.1. Below is
 my ruby version

 C:\rubyruby --version
 ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]

 I have done gem update prevsiously, gem system updates but nothing
 works. Any ideas on what I can do to get a basic script up and running
 using watir?

 On Nov 9, 10:52 pm, Raveendran P jazzezr...@gmail.com wrote:



  Hi,

  Add first line -- require 'rubygems'
  Remove line no.2 -- include Watir

  I hope it works now. If its not working then Please provide more details
  about Watir Verison and Ruby version.

  Thanks

  On Tue, Nov 10, 2009 at 3:19 AM, tester86 sagar.am...@gmail.com wrote:

   I am trying to run a watir script:

   require 'watir'
   include Watir

   ie = Watir::IE.new
   ie.goto(http://google.com;)

   ie.text_field(:name, q).set(watir)
   ie.button(:name, btnG).submit

   when I run it from command line ruby filename.rb I get the following
   error message:

   c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1336:in `method_missing':
   unknown proper
   ty or method `document' (WIN32OLERuntimeError)
      HRESULT error code:0x800706ba
        The RPC server is unavailable.    from c:/ruby/lib/ruby/
   site_ruby/1.8/watir.rb:1336:in `document'
          from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:754:in
   `getContainerContents'
          from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:778:in
   `getObject'
          from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3225:in
   `initialize'
          from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:367:in `new'
          from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:367:in
   `text_field'
          from script1.rb:6

   Any Ideas.?

  --
  Regards,
  P.Raveendranhttp://raveendran.wordpress.com-Hide quoted text -

  - Show quoted text -- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: IRB Console

2009-11-10 Thread Angrez Singh
Why are you using Watir 1.4.1 when 1.6.5 rc2 is already out. Check this link
for more details on installation:
http://wiki.openqa.org/display/WTR/Development+Builds*

- *Angrez

On Tue, Nov 10, 2009 at 8:00 PM, tester86 sagar.am...@gmail.com wrote:


 In IRB I get the following message and according to Watir In 5 Minutes
 Im guessing my output is incorrect..

 irb(main):001:0 require watir
 = true
 irb(main):002:0 ie = Watir::IE.new
 = #Watir::IE:0x825f690 @ie=#WIN32OLE:0x825f640, @error_checkers=
 [#Proc:0x0830d...@c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1135],
 @logger=#Watir::DefaultLogger:0x825f5f0 @level=2, @progname=nil,
 @logdev=#Logger::LogDevice:0x825f58c @shift_size=nil,
 @shift_age=nil,@filename=nil,
 @mutex=#Logger::LogDevice::LogDeviceMutex:0x825f564 @mon_owner=nil,
 @mon_waiting_queue=[], @mon_entering_queue=[], @mon_count=0,
 @dev=#IO:0x7916ad4, @formatter=nil,
 @default_formatter=#Logger::Formatter:0x825f5b4 @datetime_format=%d-
 %b-%Y %H:%M:%S, @defaultSleepTime=0.1,
 @activeObjectHighLightColor=yellow, @enable_spinner=false,
 @url_list=
 [], @typingspeed=0.08, @form=nil
 irb(main):003:0

 So from my debugging have I set Watir up incorrectly... since my IRB
 output is incorrect. Can someone please point me in the right
 direction.
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: chrome watir

2009-11-10 Thread amol

if u need any additional information please feel free to ask querry.
Regards,
Amol Khawre

On Nov 5, 8:42 pm, Ethan notet...@gmail.com wrote:
 This is not enough information to provide any help. Please read General
 Posting Guidelines athttp://wiki.openqa.org/display/WTR/Supportand
 include relevant information - ruby code, html, etc.



 On Thu, Nov 5, 2009 at 01:43, amol amol...@gmail.com wrote:

  HI ,

  I have installed chrome watir but as when i run program it gets stuck
  some where

  as i debugged this i found that when program sends request through
  socket on port 12345 it runs in loop get stuck there only can please
  help me in this

  Early reply will be highly appreciated
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-10 Thread Jason Trebilcock
In a previous email, you indicate that you're running Watir 1.4.1.  But, the
below indicates that you're on 1.6.2.

In any case, I tried running your code and it worked fine. (What happens if
you switch the require 'watir' and require 'rubygems' lines? Could that be
the source of your problem? Further, do you have the variable RUBYOPT set in
your environment variables with the value of 'rubygems'?)

That is:
require 'watir'
require 'rubygems'
#require win32ole


ie = Watir::IE.new
ie.goto(http://google.com;)

ie.text_field(:name, q).set(watir)
ie.button(:name, btnG).click

On Tue, Nov 10, 2009 at 8:42 AM, tester86 sagar.am...@gmail.com wrote:


 Here is the list of my local gems (just incase its helps)

 *** LOCAL GEMS ***

 actionmailer (2.3.4)
 actionpack (2.3.4)
 activerecord (2.3.4)
 activeresource (2.3.4)
 activesupport (2.3.4)
 builder (2.1.2)
 camping (1.5.180)
 commonwatir (1.6.2)
 cucumber (0.4.3)
 diff-lcs (1.1.2)
 firewatir (1.6.2)
 fxri (0.3.7, 0.3.6)
 fxruby (1.6.19, 1.6.12)
 hoe (2.3.3)
 hoe-seattlerb (1.2.1)
 hpricot (0.8.2, 0.6)
 json_pure (1.1.9)
 log4r (1.1.2, 1.0.5)
 markaby (0.5)
 metaid (1.0)
 minitest (1.4.2)
 polyglot (0.2.9)
 rack (1.0.1)
 rails (2.3.4)
 rake (0.8.7, 0.7.3)
 rspec (1.2.9)
 rubyforge (2.0.3)
 rubygems-update (1.3.5)
 s4t-utils (1.0.4)
 session (2.4.0)
 sources (0.0.1)
 term-ansicolor (1.0.4)
 test-spec (0.10.0)
 treetop (1.4.2)
 user-choices (1.1.6)
 watir (1.6.2)
 win32-api (1.4.5, 1.0.4)
 win32-clipboard (0.5.2, 0.4.3)
 win32-dir (0.3.5, 0.3.2)
 win32-eventlog (0.5.2, 0.4.6)
 win32-file (0.6.3, 0.5.4)
 win32-file-stat (1.3.4, 1.2.7)
 win32-process (0.6.1, 0.5.3)
 win32-sapi (0.1.5, 0.1.4)
 win32-sound (0.4.2, 0.4.1)
 win32console (1.2.0)
 win32ole-pp (1.2.0)
 windows-api (0.4.0, 0.2.0)
 windows-pr (1.0.8, 0.7.2)
 xml-simple (1.0.12)

 Is there any gem that I am missing that is causing the error?

 On Nov 10, 8:10 am, tester86 sagar.am...@gmail.com wrote:
  I removed include Watir now my script is:
 
  require 'watir'
  require 'rubygems'
  #require win32ole
 
  ie = Watir::IE.new
  ie.goto(http://google.com;)
 
  ie.text_field(:name, q).set(watir)
  ie.button(:name, btnG).click
 
  I still get the same error message. I am using watir 1.4.1. Below is
  my ruby version
 
  C:\rubyruby --version
  ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
 
  I have done gem update prevsiously, gem system updates but nothing
  works. Any ideas on what I can do to get a basic script up and running
  using watir?
 
  On Nov 9, 10:52 pm, Raveendran P jazzezr...@gmail.com wrote:
 
 
 
   Hi,
 
   Add first line -- require 'rubygems'
   Remove line no.2 -- include Watir
 
   I hope it works now. If its not working then Please provide more
 details
   about Watir Verison and Ruby version.
 
   Thanks
 
   On Tue, Nov 10, 2009 at 3:19 AM, tester86 sagar.am...@gmail.com
 wrote:
 
I am trying to run a watir script:
 
require 'watir'
include Watir
 
ie = Watir::IE.new
ie.goto(http://google.com;)
 
ie.text_field(:name, q).set(watir)
ie.button(:name, btnG).submit
 
when I run it from command line ruby filename.rb I get the following
error message:
 
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1336:in `method_missing':
unknown proper
ty or method `document' (WIN32OLERuntimeError)
   HRESULT error code:0x800706ba
 The RPC server is unavailable.from c:/ruby/lib/ruby/
site_ruby/1.8/watir.rb:1336:in `document'
   from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:754:in
`getContainerContents'
   from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:778:in
`getObject'
   from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3225:in
`initialize'
   from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:367:in `new'
   from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:367:in
`text_field'
   from script1.rb:6
 
Any Ideas.?
 
   --
   Regards,
   P.Raveendranhttp://raveendran.wordpress.com-Hide quoted text -
 
   - Show quoted text -- Hide quoted text -
 
  - Show quoted text -
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-10 Thread Željko Filipin
On Tue, Nov 10, 2009 at 3:10 PM, tester86 sagar.am...@gmail.com wrote:
 watir 1.4.1

Please uninstall it and install watir via gem. Ask if you need help with
that.

Željko
--
watir.com - community manager
watirpodcast.com - host

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-10 Thread tester86

This morning I just upgraded to watir 1.6.2 and I also switched the
lines but I still got the same output.

On Nov 10, 9:00 am, Jason Trebilcock jason.trebilc...@gmail.com
wrote:
 In a previous email, you indicate that you're running Watir 1.4.1.  But, the
 below indicates that you're on 1.6.2.

 In any case, I tried running your code and it worked fine. (What happens if
 you switch the require 'watir' and require 'rubygems' lines? Could that be
 the source of your problem? Further, do you have the variable RUBYOPT set in
 your environment variables with the value of 'rubygems'?)

 That is:
 require 'watir'
 require 'rubygems'
 #require win32ole

 ie = Watir::IE.new
 ie.goto(http://google.com;)

 ie.text_field(:name, q).set(watir)
 ie.button(:name, btnG).click



 On Tue, Nov 10, 2009 at 8:42 AM, tester86 sagar.am...@gmail.com wrote:

  Here is the list of my local gems (just incase its helps)

  *** LOCAL GEMS ***

  actionmailer (2.3.4)
  actionpack (2.3.4)
  activerecord (2.3.4)
  activeresource (2.3.4)
  activesupport (2.3.4)
  builder (2.1.2)
  camping (1.5.180)
  commonwatir (1.6.2)
  cucumber (0.4.3)
  diff-lcs (1.1.2)
  firewatir (1.6.2)
  fxri (0.3.7, 0.3.6)
  fxruby (1.6.19, 1.6.12)
  hoe (2.3.3)
  hoe-seattlerb (1.2.1)
  hpricot (0.8.2, 0.6)
  json_pure (1.1.9)
  log4r (1.1.2, 1.0.5)
  markaby (0.5)
  metaid (1.0)
  minitest (1.4.2)
  polyglot (0.2.9)
  rack (1.0.1)
  rails (2.3.4)
  rake (0.8.7, 0.7.3)
  rspec (1.2.9)
  rubyforge (2.0.3)
  rubygems-update (1.3.5)
  s4t-utils (1.0.4)
  session (2.4.0)
  sources (0.0.1)
  term-ansicolor (1.0.4)
  test-spec (0.10.0)
  treetop (1.4.2)
  user-choices (1.1.6)
  watir (1.6.2)
  win32-api (1.4.5, 1.0.4)
  win32-clipboard (0.5.2, 0.4.3)
  win32-dir (0.3.5, 0.3.2)
  win32-eventlog (0.5.2, 0.4.6)
  win32-file (0.6.3, 0.5.4)
  win32-file-stat (1.3.4, 1.2.7)
  win32-process (0.6.1, 0.5.3)
  win32-sapi (0.1.5, 0.1.4)
  win32-sound (0.4.2, 0.4.1)
  win32console (1.2.0)
  win32ole-pp (1.2.0)
  windows-api (0.4.0, 0.2.0)
  windows-pr (1.0.8, 0.7.2)
  xml-simple (1.0.12)

  Is there any gem that I am missing that is causing the error?

  On Nov 10, 8:10 am, tester86 sagar.am...@gmail.com wrote:
   I removed include Watir now my script is:

   require 'watir'
   require 'rubygems'
   #require win32ole

   ie = Watir::IE.new
   ie.goto(http://google.com;)

   ie.text_field(:name, q).set(watir)
   ie.button(:name, btnG).click

   I still get the same error message. I am using watir 1.4.1. Below is
   my ruby version

   C:\rubyruby --version
   ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]

   I have done gem update prevsiously, gem system updates but nothing
   works. Any ideas on what I can do to get a basic script up and running
   using watir?

   On Nov 9, 10:52 pm, Raveendran P jazzezr...@gmail.com wrote:

Hi,

Add first line -- require 'rubygems'
Remove line no.2 -- include Watir

I hope it works now. If its not working then Please provide more
  details
about Watir Verison and Ruby version.

Thanks

On Tue, Nov 10, 2009 at 3:19 AM, tester86 sagar.am...@gmail.com
  wrote:

 I am trying to run a watir script:

 require 'watir'
 include Watir

 ie = Watir::IE.new
 ie.goto(http://google.com;)

 ie.text_field(:name, q).set(watir)
 ie.button(:name, btnG).submit

 when I run it from command line ruby filename.rb I get the following
 error message:

 c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1336:in `method_missing':
 unknown proper
 ty or method `document' (WIN32OLERuntimeError)
    HRESULT error code:0x800706ba
      The RPC server is unavailable.    from c:/ruby/lib/ruby/
 site_ruby/1.8/watir.rb:1336:in `document'
        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:754:in
 `getContainerContents'
        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:778:in
 `getObject'
        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3225:in
 `initialize'
        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:367:in `new'
        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:367:in
 `text_field'
        from script1.rb:6

 Any Ideas.?

--
Regards,
P.Raveendranhttp://raveendran.wordpress.com-Hidequoted text -

- Show quoted text -- Hide quoted text -

   - Show quoted text -- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-10 Thread tester86

Previously, I did instal watir via the gem version 1.4.1 then
yesterday I download watir according to some material I found  online.
This morning I upgraded to watir 1.6.2. and executed my script again
but I got the same error message. Do you think I should uninstall ruby
and that will remove all my gems and everything and start again..I
did that before but it did not work.

On Nov 10, 9:03 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
 On Tue, Nov 10, 2009 at 3:10 PM, tester86 sagar.am...@gmail.com wrote:
  watir 1.4.1

 Please uninstall it and install watir via gem. Ask if you need help with
 that.

 Željko
 --
 watir.com - community manager
 watirpodcast.com - host
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-10 Thread Bret Pettichord

I am wondering if maybe this is a permissions problem. Are you using 
Windows 7?

It would help if you printed the error and stack trace that you are now 
getting.

Bret

tester86 wrote:
 This morning I just upgraded to watir 1.6.2 and I also switched the
 lines but I still got the same output.

 On Nov 10, 9:00 am, Jason Trebilcock jason.trebilc...@gmail.com
 wrote:
   
 In a previous email, you indicate that you're running Watir 1.4.1.  But, the
 below indicates that you're on 1.6.2.

 In any case, I tried running your code and it worked fine. (What happens if
 you switch the require 'watir' and require 'rubygems' lines? Could that be
 the source of your problem? Further, do you have the variable RUBYOPT set in
 your environment variables with the value of 'rubygems'?)

 That is:
 require 'watir'
 require 'rubygems'
 #require win32ole

 ie = Watir::IE.new
 ie.goto(http://google.com;)

 ie.text_field(:name, q).set(watir)
 ie.button(:name, btnG).click



 On Tue, Nov 10, 2009 at 8:42 AM, tester86 sagar.am...@gmail.com wrote:

 
 Here is the list of my local gems (just incase its helps)
   
 *** LOCAL GEMS ***
   
 actionmailer (2.3.4)
 actionpack (2.3.4)
 activerecord (2.3.4)
 activeresource (2.3.4)
 activesupport (2.3.4)
 builder (2.1.2)
 camping (1.5.180)
 commonwatir (1.6.2)
 cucumber (0.4.3)
 diff-lcs (1.1.2)
 firewatir (1.6.2)
 fxri (0.3.7, 0.3.6)
 fxruby (1.6.19, 1.6.12)
 hoe (2.3.3)
 hoe-seattlerb (1.2.1)
 hpricot (0.8.2, 0.6)
 json_pure (1.1.9)
 log4r (1.1.2, 1.0.5)
 markaby (0.5)
 metaid (1.0)
 minitest (1.4.2)
 polyglot (0.2.9)
 rack (1.0.1)
 rails (2.3.4)
 rake (0.8.7, 0.7.3)
 rspec (1.2.9)
 rubyforge (2.0.3)
 rubygems-update (1.3.5)
 s4t-utils (1.0.4)
 session (2.4.0)
 sources (0.0.1)
 term-ansicolor (1.0.4)
 test-spec (0.10.0)
 treetop (1.4.2)
 user-choices (1.1.6)
 watir (1.6.2)
 win32-api (1.4.5, 1.0.4)
 win32-clipboard (0.5.2, 0.4.3)
 win32-dir (0.3.5, 0.3.2)
 win32-eventlog (0.5.2, 0.4.6)
 win32-file (0.6.3, 0.5.4)
 win32-file-stat (1.3.4, 1.2.7)
 win32-process (0.6.1, 0.5.3)
 win32-sapi (0.1.5, 0.1.4)
 win32-sound (0.4.2, 0.4.1)
 win32console (1.2.0)
 win32ole-pp (1.2.0)
 windows-api (0.4.0, 0.2.0)
 windows-pr (1.0.8, 0.7.2)
 xml-simple (1.0.12)
   
 Is there any gem that I am missing that is causing the error?
   
 On Nov 10, 8:10 am, tester86 sagar.am...@gmail.com wrote:
   
 I removed include Watir now my script is:
 
 require 'watir'
 require 'rubygems'
 #require win32ole
 
 ie = Watir::IE.new
 ie.goto(http://google.com;)
 
 ie.text_field(:name, q).set(watir)
 ie.button(:name, btnG).click
 
 I still get the same error message. I am using watir 1.4.1. Below is
 my ruby version
 
 C:\rubyruby --version
 ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
 
 I have done gem update prevsiously, gem system updates but nothing
 works. Any ideas on what I can do to get a basic script up and running
 using watir?
 
 On Nov 9, 10:52 pm, Raveendran P jazzezr...@gmail.com wrote:
 
 Hi,
   
 Add first line -- require 'rubygems'
 Remove line no.2 -- include Watir
   
 I hope it works now. If its not working then Please provide more
   
 details
   
 about Watir Verison and Ruby version.
   
 Thanks
   
 On Tue, Nov 10, 2009 at 3:19 AM, tester86 sagar.am...@gmail.com
   
 wrote:
   
 I am trying to run a watir script:
 
 require 'watir'
 include Watir
 
 ie = Watir::IE.new
 ie.goto(http://google.com;)
 
 ie.text_field(:name, q).set(watir)
 ie.button(:name, btnG).submit
 
 when I run it from command line ruby filename.rb I get the following
 error message:
 
 c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1336:in `method_missing':
 unknown proper
 ty or method `document' (WIN32OLERuntimeError)
HRESULT error code:0x800706ba
  The RPC server is unavailable.from c:/ruby/lib/ruby/
 site_ruby/1.8/watir.rb:1336:in `document'
from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:754:in
 `getContainerContents'
from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:778:in
 `getObject'
from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3225:in
 `initialize'
from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:367:in `new'
from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:367:in
 `text_field'
from script1.rb:6
 
 Any Ideas.?
 
 --
 Regards,
 P.Raveendranhttp://raveendran.wordpress.com-Hidequoted text -
   
 - Show quoted text -- Hide quoted text -
   
 - Show quoted text -- Hide quoted text -
 
 - Show quoted text -
 
 
   


-- 
Bret Pettichord
Lead Developer, Watir, www.watir.com
Blog, www.io.com/~wazmo/blog
Twitter, www.twitter.com/bpettichord


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to 

[wtr-general] Re: Watir 1.6.5.rc2 - release candidate available for testing

2009-11-10 Thread Bret Pettichord

Where are we with the 1.6.5 release?

Bret

Charley Baker wrote:
 There is a change in this version for UTF-8:
 http://github.com/bret/watir/commit/466332be758a43c6045374c6c6ca03827688e151
 I'm honestly not sure if that's throwing you off or not. Let me know,
 I was hoping to release today.

 -c


 2009/11/5 jnxgn s...@jnxgn.cn mailto:s...@jnxgn.cn


 In IE, maybe it is not the problem of watir itself, but something
 else.

 On 11月6日, 上午1时59分, Charley Baker charley.ba...@gmail.com
 mailto:charley.ba...@gmail.com wrote:
  Are you still seeing this problem? Is that happening in Firefox
 or IE?
 
  -c
 
  On Tue, Nov 3, 2009 at 12:34 AM, jnxgn s...@jnxgn.cn
 mailto:s...@jnxgn.cn wrote:
 
   After I installed the gems according to the instructions, the
 Chinese
   characters getting from and posting to web pages are messed up.
 
   On Oct 23, 5:14 am, Charley Baker charley.ba...@gmail.com
 mailto:charley.ba...@gmail.com wrote:
Hi all,
 
We have a new version of Watir for testing, 1.6.5.rc2.
the release is here with instructions:
  http://wiki.openqa.org/display/WTR/Development+Builds
 
If you have a chance to take a look at it, let us know.
 There have been
   a
few changes since the last release candidate, most of those
 are bug fixes
for installation and additional fixes for tables, you can
 view the git
history
 here:http://github.com/bret/watir/commits/master/I'll
 http://github.com/bret/watir/commits/master/I%27ll be
   updating
the release notes for the recent changes before the final
 release. Please
let us know what you think and any troubles you might have.
 
Cheers,
 
Charley



 


-- 
Bret Pettichord
Lead Developer, Watir, www.watir.com
Blog, www.io.com/~wazmo/blog
Twitter, www.twitter.com/bpettichord


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-10 Thread tester86

I do not think that it is a permission an issue and I am using windows
vista but going to be working on windows 7 soon. I do not know how to
get a stack trace from my output. In my previous posts shows the error
message that I get in command prompt.

Question:

1. How do I check my envirnoment variables for ruby?


On Nov 10, 9:38 am, Bret Pettichord b...@pettichord.com wrote:
 I am wondering if maybe this is a permissions problem. Are you using
 Windows 7?

 It would help if you printed the error and stack trace that you are now
 getting.

 Bret





 tester86 wrote:
  This morning I just upgraded to watir 1.6.2 and I also switched the
  lines but I still got the same output.

  On Nov 10, 9:00 am, Jason Trebilcock jason.trebilc...@gmail.com
  wrote:

  In a previous email, you indicate that you're running Watir 1.4.1.  But, 
  the
  below indicates that you're on 1.6.2.

  In any case, I tried running your code and it worked fine. (What happens if
  you switch the require 'watir' and require 'rubygems' lines? Could that be
  the source of your problem? Further, do you have the variable RUBYOPT set 
  in
  your environment variables with the value of 'rubygems'?)

  That is:
  require 'watir'
  require 'rubygems'
  #require win32ole

  ie = Watir::IE.new
  ie.goto(http://google.com;)

  ie.text_field(:name, q).set(watir)
  ie.button(:name, btnG).click

  On Tue, Nov 10, 2009 at 8:42 AM, tester86 sagar.am...@gmail.com wrote:

  Here is the list of my local gems (just incase its helps)

  *** LOCAL GEMS ***

  actionmailer (2.3.4)
  actionpack (2.3.4)
  activerecord (2.3.4)
  activeresource (2.3.4)
  activesupport (2.3.4)
  builder (2.1.2)
  camping (1.5.180)
  commonwatir (1.6.2)
  cucumber (0.4.3)
  diff-lcs (1.1.2)
  firewatir (1.6.2)
  fxri (0.3.7, 0.3.6)
  fxruby (1.6.19, 1.6.12)
  hoe (2.3.3)
  hoe-seattlerb (1.2.1)
  hpricot (0.8.2, 0.6)
  json_pure (1.1.9)
  log4r (1.1.2, 1.0.5)
  markaby (0.5)
  metaid (1.0)
  minitest (1.4.2)
  polyglot (0.2.9)
  rack (1.0.1)
  rails (2.3.4)
  rake (0.8.7, 0.7.3)
  rspec (1.2.9)
  rubyforge (2.0.3)
  rubygems-update (1.3.5)
  s4t-utils (1.0.4)
  session (2.4.0)
  sources (0.0.1)
  term-ansicolor (1.0.4)
  test-spec (0.10.0)
  treetop (1.4.2)
  user-choices (1.1.6)
  watir (1.6.2)
  win32-api (1.4.5, 1.0.4)
  win32-clipboard (0.5.2, 0.4.3)
  win32-dir (0.3.5, 0.3.2)
  win32-eventlog (0.5.2, 0.4.6)
  win32-file (0.6.3, 0.5.4)
  win32-file-stat (1.3.4, 1.2.7)
  win32-process (0.6.1, 0.5.3)
  win32-sapi (0.1.5, 0.1.4)
  win32-sound (0.4.2, 0.4.1)
  win32console (1.2.0)
  win32ole-pp (1.2.0)
  windows-api (0.4.0, 0.2.0)
  windows-pr (1.0.8, 0.7.2)
  xml-simple (1.0.12)

  Is there any gem that I am missing that is causing the error?

  On Nov 10, 8:10 am, tester86 sagar.am...@gmail.com wrote:

  I removed include Watir now my script is:

  require 'watir'
  require 'rubygems'
  #require win32ole

  ie = Watir::IE.new
  ie.goto(http://google.com;)

  ie.text_field(:name, q).set(watir)
  ie.button(:name, btnG).click

  I still get the same error message. I am using watir 1.4.1. Below is
  my ruby version

  C:\rubyruby --version
  ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]

  I have done gem update prevsiously, gem system updates but nothing
  works. Any ideas on what I can do to get a basic script up and running
  using watir?

  On Nov 9, 10:52 pm, Raveendran P jazzezr...@gmail.com wrote:

  Hi,

  Add first line -- require 'rubygems'
  Remove line no.2 -- include Watir

  I hope it works now. If its not working then Please provide more

  details

  about Watir Verison and Ruby version.

  Thanks

  On Tue, Nov 10, 2009 at 3:19 AM, tester86 sagar.am...@gmail.com

  wrote:

  I am trying to run a watir script:

  require 'watir'
  include Watir

  ie = Watir::IE.new
  ie.goto(http://google.com;)

  ie.text_field(:name, q).set(watir)
  ie.button(:name, btnG).submit

  when I run it from command line ruby filename.rb I get the following
  error message:

  c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1336:in `method_missing':
  unknown proper
  ty or method `document' (WIN32OLERuntimeError)
     HRESULT error code:0x800706ba
       The RPC server is unavailable.    from c:/ruby/lib/ruby/
  site_ruby/1.8/watir.rb:1336:in `document'
         from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:754:in
  `getContainerContents'
         from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:778:in
  `getObject'
         from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3225:in
  `initialize'
         from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:367:in `new'
         from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:367:in
  `text_field'
         from script1.rb:6

  Any Ideas.?

  --
  Regards,
  P.Raveendranhttp://raveendran.wordpress.com-Hidequotedtext -

  - Show quoted text -- Hide quoted text -

  - Show quoted text -- Hide quoted text -

  - Show quoted text -

 --
 Bret Pettichord
 Lead Developer, Watir,www.watir.com
 Blog,www.io.com/~wazmo/blog
 Twitter,www.twitter.com/bpettichord- 

[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-10 Thread orde

 1. How do I check my envirnoment variables for ruby?

This will give you the list (from command line): ruby -e 'puts
global_variables.sort'

This will give you the value for an individual env var: ruby -e 'puts
[env_var]'.  For example: ruby - e 'puts $DEBUG'

orde

On Nov 10, 8:47 am, tester86 sagar.am...@gmail.com wrote:
 I do not think that it is a permission an issue and I am using windows
 vista but going to be working on windows 7 soon. I do not know how to
 get a stack trace from my output. In my previous posts shows the error
 message that I get in command prompt.

 Question:

 1. How do I check my envirnoment variables for ruby?

 On Nov 10, 9:38 am, Bret Pettichord b...@pettichord.com wrote:

  I am wondering if maybe this is a permissions problem. Are you using
  Windows 7?

  It would help if you printed the error and stack trace that you are now
  getting.

  Bret

  tester86 wrote:
   This morning I just upgraded to watir 1.6.2 and I also switched the
   lines but I still got the same output.

   On Nov 10, 9:00 am, Jason Trebilcock jason.trebilc...@gmail.com
   wrote:

   In a previous email, you indicate that you're running Watir 1.4.1.  But, 
   the
   below indicates that you're on 1.6.2.

   In any case, I tried running your code and it worked fine. (What happens 
   if
   you switch the require 'watir' and require 'rubygems' lines? Could that 
   be
   the source of your problem? Further, do you have the variable RUBYOPT 
   set in
   your environment variables with the value of 'rubygems'?)

   That is:
   require 'watir'
   require 'rubygems'
   #require win32ole

   ie = Watir::IE.new
   ie.goto(http://google.com;)

   ie.text_field(:name, q).set(watir)
   ie.button(:name, btnG).click

   On Tue, Nov 10, 2009 at 8:42 AM, tester86 sagar.am...@gmail.com wrote:

   Here is the list of my local gems (just incase its helps)

   *** LOCAL GEMS ***

   actionmailer (2.3.4)
   actionpack (2.3.4)
   activerecord (2.3.4)
   activeresource (2.3.4)
   activesupport (2.3.4)
   builder (2.1.2)
   camping (1.5.180)
   commonwatir (1.6.2)
   cucumber (0.4.3)
   diff-lcs (1.1.2)
   firewatir (1.6.2)
   fxri (0.3.7, 0.3.6)
   fxruby (1.6.19, 1.6.12)
   hoe (2.3.3)
   hoe-seattlerb (1.2.1)
   hpricot (0.8.2, 0.6)
   json_pure (1.1.9)
   log4r (1.1.2, 1.0.5)
   markaby (0.5)
   metaid (1.0)
   minitest (1.4.2)
   polyglot (0.2.9)
   rack (1.0.1)
   rails (2.3.4)
   rake (0.8.7, 0.7.3)
   rspec (1.2.9)
   rubyforge (2.0.3)
   rubygems-update (1.3.5)
   s4t-utils (1.0.4)
   session (2.4.0)
   sources (0.0.1)
   term-ansicolor (1.0.4)
   test-spec (0.10.0)
   treetop (1.4.2)
   user-choices (1.1.6)
   watir (1.6.2)
   win32-api (1.4.5, 1.0.4)
   win32-clipboard (0.5.2, 0.4.3)
   win32-dir (0.3.5, 0.3.2)
   win32-eventlog (0.5.2, 0.4.6)
   win32-file (0.6.3, 0.5.4)
   win32-file-stat (1.3.4, 1.2.7)
   win32-process (0.6.1, 0.5.3)
   win32-sapi (0.1.5, 0.1.4)
   win32-sound (0.4.2, 0.4.1)
   win32console (1.2.0)
   win32ole-pp (1.2.0)
   windows-api (0.4.0, 0.2.0)
   windows-pr (1.0.8, 0.7.2)
   xml-simple (1.0.12)

   Is there any gem that I am missing that is causing the error?

   On Nov 10, 8:10 am, tester86 sagar.am...@gmail.com wrote:

   I removed include Watir now my script is:

   require 'watir'
   require 'rubygems'
   #require win32ole

   ie = Watir::IE.new
   ie.goto(http://google.com;)

   ie.text_field(:name, q).set(watir)
   ie.button(:name, btnG).click

   I still get the same error message. I am using watir 1.4.1. Below is
   my ruby version

   C:\rubyruby --version
   ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]

   I have done gem update prevsiously, gem system updates but nothing
   works. Any ideas on what I can do to get a basic script up and running
   using watir?

   On Nov 9, 10:52 pm, Raveendran P jazzezr...@gmail.com wrote:

   Hi,

   Add first line -- require 'rubygems'
   Remove line no.2 -- include Watir

   I hope it works now. If its not working then Please provide more

   details

   about Watir Verison and Ruby version.

   Thanks

   On Tue, Nov 10, 2009 at 3:19 AM, tester86 sagar.am...@gmail.com

   wrote:

   I am trying to run a watir script:

   require 'watir'
   include Watir

   ie = Watir::IE.new
   ie.goto(http://google.com;)

   ie.text_field(:name, q).set(watir)
   ie.button(:name, btnG).submit

   when I run it from command line ruby filename.rb I get the following
   error message:

   c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1336:in `method_missing':
   unknown proper
   ty or method `document' (WIN32OLERuntimeError)
      HRESULT error code:0x800706ba
        The RPC server is unavailable.    from c:/ruby/lib/ruby/
   site_ruby/1.8/watir.rb:1336:in `document'
          from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:754:in
   `getContainerContents'
          from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:778:in
   `getObject'
          from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3225:in
   `initialize'
          from 

[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-10 Thread Jason Trebilcock
Not exactly what I had in mind when I mentioned checking the environment
variables.

For Windows:
Control Panel = System = Advanced = Environment Variables.

On Tue, Nov 10, 2009 at 11:06 AM, orde ohil...@gmail.com wrote:


  1. How do I check my envirnoment variables for ruby?

 This will give you the list (from command line): ruby -e 'puts
 global_variables.sort'

 This will give you the value for an individual env var: ruby -e 'puts
 [env_var]'.  For example: ruby - e 'puts $DEBUG'

 orde

 On Nov 10, 8:47 am, tester86 sagar.am...@gmail.com wrote:
  I do not think that it is a permission an issue and I am using windows
  vista but going to be working on windows 7 soon. I do not know how to
  get a stack trace from my output. In my previous posts shows the error
  message that I get in command prompt.
 
  Question:
 
  1. How do I check my envirnoment variables for ruby?
 
  On Nov 10, 9:38 am, Bret Pettichord b...@pettichord.com wrote:
 
   I am wondering if maybe this is a permissions problem. Are you using
   Windows 7?
 
   It would help if you printed the error and stack trace that you are now
   getting.
 
   Bret
 
   tester86 wrote:
This morning I just upgraded to watir 1.6.2 and I also switched the
lines but I still got the same output.
 
On Nov 10, 9:00 am, Jason Trebilcock jason.trebilc...@gmail.com
wrote:
 
In a previous email, you indicate that you're running Watir 1.4.1.
  But, the
below indicates that you're on 1.6.2.
 
In any case, I tried running your code and it worked fine. (What
 happens if
you switch the require 'watir' and require 'rubygems' lines? Could
 that be
the source of your problem? Further, do you have the variable
 RUBYOPT set in
your environment variables with the value of 'rubygems'?)
 
That is:
require 'watir'
require 'rubygems'
#require win32ole
 
ie = Watir::IE.new
ie.goto(http://google.com;)
 
ie.text_field(:name, q).set(watir)
ie.button(:name, btnG).click
 
On Tue, Nov 10, 2009 at 8:42 AM, tester86 sagar.am...@gmail.com
 wrote:
 
Here is the list of my local gems (just incase its helps)
 
*** LOCAL GEMS ***
 
actionmailer (2.3.4)
actionpack (2.3.4)
activerecord (2.3.4)
activeresource (2.3.4)
activesupport (2.3.4)
builder (2.1.2)
camping (1.5.180)
commonwatir (1.6.2)
cucumber (0.4.3)
diff-lcs (1.1.2)
firewatir (1.6.2)
fxri (0.3.7, 0.3.6)
fxruby (1.6.19, 1.6.12)
hoe (2.3.3)
hoe-seattlerb (1.2.1)
hpricot (0.8.2, 0.6)
json_pure (1.1.9)
log4r (1.1.2, 1.0.5)
markaby (0.5)
metaid (1.0)
minitest (1.4.2)
polyglot (0.2.9)
rack (1.0.1)
rails (2.3.4)
rake (0.8.7, 0.7.3)
rspec (1.2.9)
rubyforge (2.0.3)
rubygems-update (1.3.5)
s4t-utils (1.0.4)
session (2.4.0)
sources (0.0.1)
term-ansicolor (1.0.4)
test-spec (0.10.0)
treetop (1.4.2)
user-choices (1.1.6)
watir (1.6.2)
win32-api (1.4.5, 1.0.4)
win32-clipboard (0.5.2, 0.4.3)
win32-dir (0.3.5, 0.3.2)
win32-eventlog (0.5.2, 0.4.6)
win32-file (0.6.3, 0.5.4)
win32-file-stat (1.3.4, 1.2.7)
win32-process (0.6.1, 0.5.3)
win32-sapi (0.1.5, 0.1.4)
win32-sound (0.4.2, 0.4.1)
win32console (1.2.0)
win32ole-pp (1.2.0)
windows-api (0.4.0, 0.2.0)
windows-pr (1.0.8, 0.7.2)
xml-simple (1.0.12)
 
Is there any gem that I am missing that is causing the error?
 
On Nov 10, 8:10 am, tester86 sagar.am...@gmail.com wrote:
 
I removed include Watir now my script is:
 
require 'watir'
require 'rubygems'
#require win32ole
 
ie = Watir::IE.new
ie.goto(http://google.com;)
 
ie.text_field(:name, q).set(watir)
ie.button(:name, btnG).click
 
I still get the same error message. I am using watir 1.4.1. Below
 is
my ruby version
 
C:\rubyruby --version
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
 
I have done gem update prevsiously, gem system updates but nothing
works. Any ideas on what I can do to get a basic script up and
 running
using watir?
 
On Nov 9, 10:52 pm, Raveendran P jazzezr...@gmail.com wrote:
 
Hi,
 
Add first line -- require 'rubygems'
Remove line no.2 -- include Watir
 
I hope it works now. If its not working then Please provide more
 
details
 
about Watir Verison and Ruby version.
 
Thanks
 
On Tue, Nov 10, 2009 at 3:19 AM, tester86 sagar.am...@gmail.com
 
 
wrote:
 
I am trying to run a watir script:
 
require 'watir'
include Watir
 
ie = Watir::IE.new
ie.goto(http://google.com;)
 
ie.text_field(:name, q).set(watir)
ie.button(:name, btnG).submit
 
when I run it from command line ruby filename.rb I get the
 following
error message:
 
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1336:in
 `method_missing':
unknown proper
ty or method `document' (WIN32OLERuntimeError)
   HRESULT error code:0x800706ba
 

[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-10 Thread Bret Pettichord

You posted a stack trace earlier. This is displayed after the error 
message. If you are still getting exactly the same stack trace, then you 
are still using the old version of watir. A new version of watir will 
result in a somewhat different stack trace.

You can type set at a command prompt to see your environment variables.

Why do you say that you don't think it is a permissions issue? To me, it 
suggests you don't have access to the document object. How do you 
interpret the error message?

Bret

tester86 wrote:
 I do not think that it is a permission an issue and I am using windows
 vista but going to be working on windows 7 soon. I do not know how to
 get a stack trace from my output. In my previous posts shows the error
 message that I get in command prompt.

 Question:

 1. How do I check my envirnoment variables for ruby?


 On Nov 10, 9:38 am, Bret Pettichord b...@pettichord.com wrote:
   
 I am wondering if maybe this is a permissions problem. Are you using
 Windows 7?

 It would help if you printed the error and stack trace that you are now
 getting.

 Bret





 tester86 wrote:
 
 This morning I just upgraded to watir 1.6.2 and I also switched the
 lines but I still got the same output.
   
 On Nov 10, 9:00 am, Jason Trebilcock jason.trebilc...@gmail.com
 wrote:
   
 In a previous email, you indicate that you're running Watir 1.4.1.  But, 
 the
 below indicates that you're on 1.6.2.
 
 In any case, I tried running your code and it worked fine. (What happens if
 you switch the require 'watir' and require 'rubygems' lines? Could that be
 the source of your problem? Further, do you have the variable RUBYOPT set 
 in
 your environment variables with the value of 'rubygems'?)
 
 That is:
 require 'watir'
 require 'rubygems'
 #require win32ole
 
 ie = Watir::IE.new
 ie.goto(http://google.com;)
 
 ie.text_field(:name, q).set(watir)
 ie.button(:name, btnG).click
 
 On Tue, Nov 10, 2009 at 8:42 AM, tester86 sagar.am...@gmail.com wrote:
 
 Here is the list of my local gems (just incase its helps)
   
 *** LOCAL GEMS ***
   
 actionmailer (2.3.4)
 actionpack (2.3.4)
 activerecord (2.3.4)
 activeresource (2.3.4)
 activesupport (2.3.4)
 builder (2.1.2)
 camping (1.5.180)
 commonwatir (1.6.2)
 cucumber (0.4.3)
 diff-lcs (1.1.2)
 firewatir (1.6.2)
 fxri (0.3.7, 0.3.6)
 fxruby (1.6.19, 1.6.12)
 hoe (2.3.3)
 hoe-seattlerb (1.2.1)
 hpricot (0.8.2, 0.6)
 json_pure (1.1.9)
 log4r (1.1.2, 1.0.5)
 markaby (0.5)
 metaid (1.0)
 minitest (1.4.2)
 polyglot (0.2.9)
 rack (1.0.1)
 rails (2.3.4)
 rake (0.8.7, 0.7.3)
 rspec (1.2.9)
 rubyforge (2.0.3)
 rubygems-update (1.3.5)
 s4t-utils (1.0.4)
 session (2.4.0)
 sources (0.0.1)
 term-ansicolor (1.0.4)
 test-spec (0.10.0)
 treetop (1.4.2)
 user-choices (1.1.6)
 watir (1.6.2)
 win32-api (1.4.5, 1.0.4)
 win32-clipboard (0.5.2, 0.4.3)
 win32-dir (0.3.5, 0.3.2)
 win32-eventlog (0.5.2, 0.4.6)
 win32-file (0.6.3, 0.5.4)
 win32-file-stat (1.3.4, 1.2.7)
 win32-process (0.6.1, 0.5.3)
 win32-sapi (0.1.5, 0.1.4)
 win32-sound (0.4.2, 0.4.1)
 win32console (1.2.0)
 win32ole-pp (1.2.0)
 windows-api (0.4.0, 0.2.0)
 windows-pr (1.0.8, 0.7.2)
 xml-simple (1.0.12)
   
 Is there any gem that I am missing that is causing the error?
   
 On Nov 10, 8:10 am, tester86 sagar.am...@gmail.com wrote:
   
 I removed include Watir now my script is:
 
 require 'watir'
 require 'rubygems'
 #require win32ole
 
 ie = Watir::IE.new
 ie.goto(http://google.com;)
 
 ie.text_field(:name, q).set(watir)
 ie.button(:name, btnG).click
 
 I still get the same error message. I am using watir 1.4.1. Below is
 my ruby version
 
 C:\rubyruby --version
 ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
 
 I have done gem update prevsiously, gem system updates but nothing
 works. Any ideas on what I can do to get a basic script up and running
 using watir?
 
 On Nov 9, 10:52 pm, Raveendran P jazzezr...@gmail.com wrote:
 
 Hi,
   
 Add first line -- require 'rubygems'
 Remove line no.2 -- include Watir
   
 I hope it works now. If its not working then Please provide more
   
 details
   
 about Watir Verison and Ruby version.
   
 Thanks
   
 On Tue, Nov 10, 2009 at 3:19 AM, tester86 sagar.am...@gmail.com
   
 wrote:
   
 I am trying to run a watir script:
 
 require 'watir'
 include Watir
 
 ie = Watir::IE.new
 ie.goto(http://google.com;)
 
 ie.text_field(:name, q).set(watir)
 ie.button(:name, btnG).submit
 
 when I run it from command line ruby filename.rb I get the following
 error message:
 
 c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1336:in `method_missing':
 unknown proper
 ty or method `document' (WIN32OLERuntimeError)
HRESULT error code:0x800706ba
  

[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-10 Thread tester86

Thanks for all the help I managed to get ruby and watir all up and
running. But I have a question, when I was using cucumber I get this
error message and they told me to put this post in the watir group:

c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/element.rb:52:in
`assert_exists': Unable to locate element, using :name,
q (Watir::Exception::UnknownObje
ctException)
  from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
element.rb:284:in `enabled?'
from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
element.rb:56:in `assert_enabled'
from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
input_elements.rb:323:in `set'
from script1.rb:8

When you have a watir script why cannot find the text box and the
search box for google.My script is still the same. Is there some other
syntax that I need to use?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-10 Thread Bret Pettichord

My guess is that the browser is not actually on the google page at this 
point. You could use statements like this to help troubleshoot:

  puts browser.text
  puts browser.url
  puts browser.title

Bret

tester86 wrote:
 Thanks for all the help I managed to get ruby and watir all up and
 running. But I have a question, when I was using cucumber I get this
 error message and they told me to put this post in the watir group:

 c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/element.rb:52:in
 `assert_exists': Unable to locate element, using :name,
 q (Watir::Exception::UnknownObje
 ctException)
   from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
 element.rb:284:in `enabled?'
 from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
 element.rb:56:in `assert_enabled'
 from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
 input_elements.rb:323:in `set'
 from script1.rb:8

 When you have a watir script why cannot find the text box and the
 search box for google.My script is still the same. Is there some other
 syntax that I need to use?


 
   


-- 
Bret Pettichord
Lead Developer, Watir, www.watir.com
Blog, www.io.com/~wazmo/blog
Twitter, www.twitter.com/bpettichord


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Watir 1.6.5 is released

2009-11-10 Thread Charley Baker
Hi all,

  We've done a lot of work for bug fixes and integration with Firefox to
make it more conformant to the Watir unit tests. There has been a burgeoning
of contributions for this release as compared to previous releases, part of
that due to our move to github, and another part due to cleaning up and
adding Firefox as a first class cititzen. It's been a lot of fun to work on
this release and there are many people who've helped us out.

This release is a lot of bugfixes, and integration and should be a drop in
replacement if you're using 1.6.2 currently, and highly recommended as an
upgrade.

For more information on specific changes, please take a look at the change
file: /watir/NEWCHANGES, I've put most of them in that file.

Please post on the list with any problems or difficulties in installing the
latest gems.

Cheers,

Charley

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Watir 1.6.5.rc2 - release candidate available for testing

2009-11-10 Thread Charley Baker
Done. I was waiting on some people, never heard back.

-c
2009/11/10 Bret Pettichord b...@pettichord.com


 Where are we with the 1.6.5 release?

 Bret

 Charley Baker wrote:
  There is a change in this version for UTF-8:
 
 http://github.com/bret/watir/commit/466332be758a43c6045374c6c6ca03827688e151
  I'm honestly not sure if that's throwing you off or not. Let me know,
  I was hoping to release today.
 
  -c
 
 
  2009/11/5 jnxgn s...@jnxgn.cn mailto:s...@jnxgn.cn
 
 
  In IE, maybe it is not the problem of watir itself, but something
  else.
 
  On 11月6日, 上午1时59分, Charley Baker charley.ba...@gmail.com
  mailto:charley.ba...@gmail.com wrote:
   Are you still seeing this problem? Is that happening in Firefox
  or IE?
  
   -c
  
   On Tue, Nov 3, 2009 at 12:34 AM, jnxgn s...@jnxgn.cn
  mailto:s...@jnxgn.cn wrote:
  
After I installed the gems according to the instructions, the
  Chinese
characters getting from and posting to web pages are messed up.
  
On Oct 23, 5:14 am, Charley Baker charley.ba...@gmail.com
  mailto:charley.ba...@gmail.com wrote:
 Hi all,
  
 We have a new version of Watir for testing, 1.6.5.rc2.
 the release is here with instructions:
   http://wiki.openqa.org/display/WTR/Development+Builds
  
 If you have a chance to take a look at it, let us know.
  There have been
a
 few changes since the last release candidate, most of those
  are bug fixes
 for installation and additional fixes for tables, you can
  view the git
 history
  
  here:http://github.com/bret/watir/commits/master/I'llhttp://github.com/bret/watir/commits/master/I%27ll
  http://github.com/bret/watir/commits/master/I%27ll be
updating
 the release notes for the recent changes before the final
  release. Please
 let us know what you think and any troubles you might have.
  
 Cheers,
  
 Charley
 
 
 
  


 --
 Bret Pettichord
 Lead Developer, Watir, www.watir.com
 Blog, www.io.com/~wazmo/blog http://www.io.com/%7Ewazmo/blog
 Twitter, www.twitter.com/bpettichord


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Watir 1.6.5 is released

2009-11-10 Thread Bret Pettichord

Thanks for getting this out Charley.

This release represents about a year of work on bug releases and 
incremental improvements to Watir's support for both Firefox and IE. For 
complete details, see 
http://github.com/bret/watir/blob/master/watir/NEWCHANGES

I'm really glad that Charley agreed to take the lead in getting this 
release out the door. Big thanks also go to Jari Bakken, who provided 
numerous fixes. Other contributors to this release include Angrez Singh, 
Derek Berner, Rob Alred, Željko Filipin, Jarmo Pertman, Aidy Lewis, Alan 
Baird and many others. (If you made contributions to this release, but 
did not get credited, please let me or Charley know and we'll update the 
release notes right away.)

Bret

Charley Baker wrote:
 Hi all,

 We've done a lot of work for bug fixes and integration with Firefox to 
 make it more conformant to the Watir unit tests. There has been a 
 burgeoning of contributions for this release as compared to previous 
 releases, part of that due to our move to github, and another part due 
 to cleaning up and adding Firefox as a first class cititzen. It's been 
 a lot of fun to work on this release and there are many people who've 
 helped us out.

 This release is a lot of bugfixes, and integration and should be a 
 drop in replacement if you're using 1.6.2 currently, and highly 
 recommended as an upgrade.

 For more information on specific changes, please take a look at the 
 change file: /watir/NEWCHANGES, I've put most of them in that file.

 Please post on the list with any problems or difficulties in 
 installing the latest gems.

 Cheers,

 Charley


 


-- 
Bret Pettichord
Lead Developer, Watir, www.watir.com
Blog, www.io.com/~wazmo/blog
Twitter, www.twitter.com/bpettichord


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Watir Wiki Cleanup

2009-11-10 Thread Željko Filipin
I have been cleaning up Watir wiki recently. Big changes:

1) wiki home page now has more links to relevant pages (Bret asked for it,
and it makes a lot of sense)
2) tutorial navigation is fixed (I hope)
3) pop ups are not in tutorial any more (since they are not really
supported)
4) pop ups are now at wiki home page (since lots of people have trouble with
them)
5) some pages changed parents (url stays the same, they are only located
under different page)
6) I have created Delete page, and I will move pages that will be deleted
there (http://wiki.openqa.org/display/WTR/Delete), if you see a page there
that you think should not be deleted, please let me know

Let me know what you think about the changes.

Željko
--
watir.com - community manager
watirpodcast.com - host

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Watir Wiki Cleanup

2009-11-10 Thread Željko Filipin
And if you think What is this wiki thing?, take a look:

http://wiki.openqa.org/display/WTR/

Željko

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Watir 1.6.5.rc2 - release candidate available for testing

2009-11-10 Thread jnxgn

I installed the 1.6.5 after the release, chinese input and output
still not working.
BTW, where can I upload an image to show this.

On 11月11日, 上午6时21分, Charley Baker charley.ba...@gmail.com wrote:
 Done. I was waiting on some people, never heard back.

 -c
 2009/11/10 Bret Pettichord b...@pettichord.com





  Where are we with the 1.6.5 release?

  Bret

  Charley Baker wrote:
   There is a change in this version for UTF-8:

 http://github.com/bret/watir/commit/466332be758a43c6045374c6c6ca03827...
   I'm honestly not sure if that's throwing you off or not. Let me know,
   I was hoping to release today.

   -c

   2009/11/5 jnxgn s...@jnxgn.cn mailto:s...@jnxgn.cn

   In IE, maybe it is not the problem of watir itself, but something
   else.

   On 11月6日, 上午1时59分, Charley Baker charley.ba...@gmail.com
   mailto:charley.ba...@gmail.com wrote:
Are you still seeing this problem? Is that happening in Firefox
   or IE?

-c

On Tue, Nov 3, 2009 at 12:34 AM, jnxgn s...@jnxgn.cn
   mailto:s...@jnxgn.cn wrote:

 After I installed the gems according to the instructions, the
   Chinese
 characters getting from and posting to web pages are messed up.

 On Oct 23, 5:14 am, Charley Baker charley.ba...@gmail.com
   mailto:charley.ba...@gmail.com wrote:
  Hi all,

  We have a new version of Watir for testing, 1.6.5.rc2.
  the release is here with instructions:
http://wiki.openqa.org/display/WTR/Development+Builds

  If you have a chance to take a look at it, let us know.
   There have been
 a
  few changes since the last release candidate, most of those
   are bug fixes
  for installation and additional fixes for tables, you can
   view the git
  history
   
   here:http://github.com/bret/watir/commits/master/I'llhttp://github.com/bret/watir/commits/master/I%27ll
   http://github.com/bret/watir/commits/master/I%27ll be
 updating
  the release notes for the recent changes before the final
   release. Please
  let us know what you think and any troubles you might have.

  Cheers,

  Charley

  --
  Bret Pettichord
  Lead Developer, Watir,www.watir.com
  Blog,www.io.com/~wazmo/bloghttp://www.io.com/%7Ewazmo/blog
  Twitter,www.twitter.com/bpettichord- 隐藏被引用文字 -

 - 显示引用的文字 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Watir 1.6.5.rc2 - release candidate available for testing

2009-11-10 Thread jnxgn

I had sent an email to charley with the image showing the error.

On 11月6日, 上午2时58分, Charley Baker charley.ba...@gmail.com wrote:
 There is a change in this version for 
 UTF-8:http://github.com/bret/watir/commit/466332be758a43c6045374c6c6ca03827...
 I'm honestly not sure if that's throwing you off or not. Let me know, I was
 hoping to release today.

 -c

 2009/11/5 jnxgn s...@jnxgn.cn





  In IE, maybe it is not the problem of watir itself, but something
  else.

  On 11月6日, 上午1时59分, Charley Baker charley.ba...@gmail.com wrote:
   Are you still seeing this problem? Is that happening in Firefox or IE?

   -c

   On Tue, Nov 3, 2009 at 12:34 AM, jnxgn s...@jnxgn.cn wrote:

After I installed the gems according to the instructions, the Chinese
characters getting from and posting to web pages are messed up.

On Oct 23, 5:14 am, Charley Baker charley.ba...@gmail.com wrote:
 Hi all,

  We have a new version of Watir for testing, 1.6.5.rc2.
 the release is here with instructions:
   http://wiki.openqa.org/display/WTR/Development+Builds

  If you have a chance to take a look at it, let us know. There have
  been
a
 few changes since the last release candidate, most of those are bug
  fixes
 for installation and additional fixes for tables, you can view the
  git
 history 
 here:http://github.com/bret/watir/commits/master/I'llhttp://github.com/bret/watir/commits/master/I%27llbe
updating
 the release notes for the recent changes before the final release.
  Please
 let us know what you think and any troubles you might have.

 Cheers,

 Charley- 隐藏被引用文字 -

 - 显示引用的文字 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] What's the difference between FireWatir1.6.5 and Watir1.6.5

2009-11-10 Thread Wesley Chen
Hi, Guys,
It is a great news that FireWatir1.6.5 is released. I tried the attach and
enumerate methods, that's perfect.
I have seldom used FireWatir before this release 1.6.5.
My project runs quite well in Watir in IE.

So, I would like to ask a question.
What's the difference between FireWatir and Watir?
I don't ask for the inner core structure, but the difference about identify
the elements on the web page, such as JS pop up, buttons, new window...

Anything that FireWatir is beyond Watir? funfx?
Anything FireWatir is still under construction?


Any ideas would be quite appreciated.

Thanks.
Wesley Chen.
For life, the easier, the better.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: What's the difference between FireWatir1.6.5 and Watir1.6.5

2009-11-10 Thread Wesley Chen
Sorry for the question.
I should have read the doc below:
http://wiki.openqa.org/display/WTR/Firewatir+Compatibility

Thanks.
Wesley Chen.
For life, the easier, the better.


On Wed, Nov 11, 2009 at 10:36 AM, Wesley Chen cjq@gmail.com wrote:

 Hi, Guys,
 It is a great news that FireWatir1.6.5 is released. I tried the attach and
 enumerate methods, that's perfect.
 I have seldom used FireWatir before this release 1.6.5.
 My project runs quite well in Watir in IE.

 So, I would like to ask a question.
 What's the difference between FireWatir and Watir?
 I don't ask for the inner core structure, but the difference about identify
 the elements on the web page, such as JS pop up, buttons, new window...

 Anything that FireWatir is beyond Watir? funfx?
 Anything FireWatir is still under construction?


 Any ideas would be quite appreciated.

 Thanks.
 Wesley Chen.
 For life, the easier, the better.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: What's the difference between FireWatir1.6.5 and Watir1.6.5

2009-11-10 Thread Bret Pettichord

Here is a page that documents the differences.
http://wiki.openqa.org/display/WTR/Firewatir+Compatibility

It needs to be updated for the latest release.

Bret

Wesley Chen wrote:
 Hi, Guys,
 It is a great news that FireWatir1.6.5 is released. I tried the attach 
 and enumerate methods, that's perfect.
 I have seldom used FireWatir before this release 1.6.5.
 My project runs quite well in Watir in IE.

 So, I would like to ask a question.
 What's the difference between FireWatir and Watir?
 I don't ask for the inner core structure, but the difference about 
 identify the elements on the web page, such as JS pop up, buttons, new 
 window...

 Anything that FireWatir is beyond Watir? funfx?
 Anything FireWatir is still under construction?


 Any ideas would be quite appreciated.

 Thanks.
 Wesley Chen.
 For life, the easier, the better.

 


-- 
Bret Pettichord
Lead Developer, Watir, www.watir.com
Blog, www.io.com/~wazmo/blog
Twitter, www.twitter.com/bpettichord


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Watir 1.6.5.rc2 - release candidate available for testing

2009-11-10 Thread Bret Pettichord

Could you open up a ticket on Jira for this? You can attach images there.
http://jira.openqa.org/browse/WTR



jnxgn wrote:
 I installed the 1.6.5 after the release, chinese input and output
 still not working.
 BTW, where can I upload an image to show this.

 On 11月11日, 上午6时21分, Charley Baker charley.ba...@gmail.com wrote:
   
 Done. I was waiting on some people, never heard back.

 -c
 2009/11/10 Bret Pettichord b...@pettichord.com





 
 Where are we with the 1.6.5 release?
   
 Bret
   
 Charley Baker wrote:
   
 There is a change in this version for UTF-8:
 
 http://github.com/bret/watir/commit/466332be758a43c6045374c6c6ca03827...
   
 I'm honestly not sure if that's throwing you off or not. Let me know,
 I was hoping to release today.
 
 -c
 
 2009/11/5 jnxgn s...@jnxgn.cn mailto:s...@jnxgn.cn
 
 In IE, maybe it is not the problem of watir itself, but something
 else.
 
 On 11月6日, 上午1时59分, Charley Baker charley.ba...@gmail.com
 mailto:charley.ba...@gmail.com wrote:
  Are you still seeing this problem? Is that happening in Firefox
 or IE?
 
  -c
 
  On Tue, Nov 3, 2009 at 12:34 AM, jnxgn s...@jnxgn.cn
 mailto:s...@jnxgn.cn wrote:
 
   After I installed the gems according to the instructions, the
 Chinese
   characters getting from and posting to web pages are messed up.
 
   On Oct 23, 5:14 am, Charley Baker charley.ba...@gmail.com
 mailto:charley.ba...@gmail.com wrote:
Hi all,
 
We have a new version of Watir for testing, 1.6.5.rc2.
the release is here with instructions:
  http://wiki.openqa.org/display/WTR/Development+Builds
 
If you have a chance to take a look at it, let us know.
 There have been
   a
few changes since the last release candidate, most of those
 are bug fixes
for installation and additional fixes for tables, you can
 view the git
history
 
 here:http://github.com/bret/watir/commits/master/I'llhttp://github.com/bret/watir/commits/master/I%27ll
 http://github.com/bret/watir/commits/master/I%27ll be
   updating
the release notes for the recent changes before the final
 release. Please
let us know what you think and any troubles you might have.
 
Cheers,
 
Charley
 
 --
 Bret Pettichord
 Lead Developer, Watir,www.watir.com
 Blog,www.io.com/~wazmo/bloghttp://www.io.com/%7Ewazmo/blog
 Twitter,www.twitter.com/bpettichord- 隐藏被引用文字 -
   
 - 显示引用的文字 -
 
 
   


-- 
Bret Pettichord
Lead Developer, Watir, www.watir.com
Blog, www.io.com/~wazmo/blog
Twitter, www.twitter.com/bpettichord


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-11-10 Thread Angrez Singh
Are you using FireWatir? If yes, then did you went through the entire
thread?

- Angrez

On Tue, Nov 10, 2009 at 8:14 PM, amol amol...@gmail.com wrote:


 Hi All,

 I want to handle basic authentication window on linux Please help me
 for that i'm not able to handle that, as i handle that successfully in
 windows

 Regards,
 Amol Khawre

 On Oct 30, 12:35 am, Angrez Singh ang...@gmail.com wrote:
  Thats great. I used it only on windows so it works on Linux as well.
 Happy
  to help
  - Angrez
 
 
 
  On Fri, Oct 30, 2009 at 12:38 AM, Aedorn Varanis aed...@gmail.com
 wrote:
   Internet Explorer solutions don't tend to work well with Firefox in
 Linux.
 
   However, Angrez's fork had the solution so I'm using that now. Thanks
   Angrez, works perfectly!
 
   On Thu, Oct 29, 2009 at 7:58 AM, Chris christopher.mcma...@gmail.com
 wrote:
 
   FWIW:
  http://chrismcmahonsblog.blogspot.com/2006/05/internet-explorer-basic.
 ..
 
   On Oct 28, 1:20 am, Angrez Singh ang...@gmail.com wrote:
I have added the basic authentication mechanism to Firewatir. Its
 not
   yet
released. Me  Bret need to finalize on the syntax, method name etc
 so
   that
its easier to use both with Watir/Firewatir.
 
- Angrez
 
On Wed, Oct 28, 2009 at 10:28 AM, Raveendran P 
 jazzezr...@gmail.com
   wrote:
 Hi Aedorn,
 
I got some idea's from Selenium.I implemented it in my
   Watir
 scripts. Have you tried this way?  -- http://bit.ly/21zDrH
 
 Awaiting your reply
 
 Thanks
 
 On Wed, Oct 28, 2009 at 6:03 AM, Ethan notet...@gmail.com
 wrote:
 
 Yeah, you should be able to get a handle to the window where you
   enter
 username/password, get the text fields on that window, set them,
   click the
 'ok' button. That'd all be in javascript over the jssh socket.
 
 On Tue, Oct 27, 2009 at 20:28, aidy lewis 
 aidy.le...@googlemail.com
   wrote:
 
 The Firefox browser is completly scriptable. I would suggest
 looking
 at the Mozilla js classes.
 
 2009/10/27 Chris christopher.mcma...@gmail.com:
 
  I looked into this a long time ago, and there is no way to
 persist
   a
  Basic Auth session in a browser.  You have to have credentials
 for
  every page request and every frame within every page.   I was
   hacking
  around deep in the guts of Watir trying to make this work and
   failed.
 
  Nor do I know of any other tool that makes this possible.
  There
   might
  be something fancy you could do in multiple libraries used by
   Watir,
  buiret I did not have that kind of mandate.
 
  I suggest a well-designed set of manual tours.
 
  -Chris
 
  On Oct 27, 1:53 pm, Aedorn Varanis aed...@gmail.com wrote:
  This doesn't really solve the problem.
 
  On Tue, Oct 27, 2009 at 1:09 PM, aidy lewis 
 aidy.le...@googlemail.comwrote:
 
   Can you not set your trusted uri's in about:config
 
   network.automatic-ntlm-auth.trusted-uris ?
 
   Aidy
 
   2009/10/27 Aedorn Varanis aed...@gmail.com:
I took a look around but it doesn't like there's any
 answer
   to
 this. I've
recently been tasked to automate testing of a product,
 and
   the
 only thing
   I
can't seem to solve is basic authentication, which is
 rather
   funny
 to me,
but not so much to those who are waiting on this being
 done.
 
So how can one go about doing basic authentication with
 FireWatir/Firefox
   on
Linux currently?
 
 --
 Regards,
 P.Raveendran
http://raveendran.wordpress.com
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Does watir/ruby support different lang characters (other than ASCII) verification?

2009-11-10 Thread basu

Hi,

Does watir/ruby support different lang characters (other than ASCII)
verification?

Ex: i want to check 完全重新设计的界面,包括专辑画面 text displayed in the
application.

Thanks
-Basu
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---