[wtr-general] element search recursive?

2009-06-03 Thread MatchBook


I noticed that sometimes watir searches within its nested containers
for items, and sometimes it does not.  I would like to know the rules
by which it decides to do so or not.

For example, I noticed that in an Amazon.com page 'ie.link(:text,
Advanced Search)' returned the same link as 'ie.table.link(:text,
Advanced Search)' (here, table is a table element), which lead me to
believe that watir will search sub-containers for the item requested.

But when I was in the gmail web page, ie.text_fields returned a
different set of items than ie.canvas_frame.text_fields (here,
canvas_frame is a frame element), which puzzled me given my experience
above.

Jeff
--~--~-~--~~~---~--~~
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: gmail tutorial example doesn't work

2009-05-26 Thread MatchBook

Zeljko,

I'm a pretty quick study.  Would you mind taking a quick look and
seeing why the demo fails?  It would be instructive to me and I think
to entire group.

Jeff


On May 21, 5:09 pm, MatchBook jeffrey.fl...@gmail.com wrote:
 Hello,

 I was burnishing my watir skills and I noticed that this example
 didn't work.  It fails on the

     canvas_frame.button(:text, 'Send').click    # Send the message

 step.  I tried myself to figure out how to fix this problem as a
 challenge to my developing skills.  I had trouble.  The Send button
 appears to be a weird non-image button.  I was frustrated in my
 attempts to get the button to flash using irb and the ie toolbar.

 I'd be interested to learn how to fix this.

 Jeff
--~--~-~--~~~---~--~~
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] gmail tutorial example doesn't work

2009-05-21 Thread MatchBook


Hello,

I was burnishing my watir skills and I noticed that this example
didn't work.  It fails on the

canvas_frame.button(:text, 'Send').click# Send the message

step.  I tried myself to figure out how to fix this problem as a
challenge to my developing skills.  I had trouble.  The Send button
appears to be a weird non-image button.  I was frustrated in my
attempts to get the button to flash using irb and the ie toolbar.

I'd be interested to learn how to fix this.

Jeff
--~--~-~--~~~---~--~~
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: installing watir behind a firewall on Windows

2009-03-07 Thread MatchBook

Bret,

I do believe that all of the necessary gems were copied over; it seems
to me that I cannot find the right options to the gem install command
to get it to see the gems in the cache directory.  I like your all-
out method of copying the entire ruby directory, but I may have some
trouble since that zip file will contain .exe files.  I would be
really interested in learning what the proper gem install command
would be, in any case (and where the copied gem cache should reside
for it to work).

Jeff

On Mar 6, 3:14 pm, Bret Pettichord b...@pettichord.com wrote:
 Doing a local gem will only work if you have *all* the gems that Watir
 requires available locally. This number is rapidly increasing. To me
 this is not a practical option.

 Better would be just to install on a machine with network access and
 then copy the entire ruby directory.

 Bret



 MatchBook wrote:
  Al,

  It necessary for me to specify the cache directory?  (Or can you
  confirm for where the correct place is to place the cache directory?)
  Here is what I have tried so far:

  p:\Jeffgem install watir -l
  ERROR:  While executing gem ... (RuntimeEr
      Error instaling watir:
          watir requires commonwatir = 1.6.2

  p:\Jeffgem install watir -l -i p:\jeff\cache
  ERROR:  While executing gem ... (RuntimeError)
      Error instaling watir:
          watir requires commonwatir = 1.6.2

  In the first case, I put the cache in C:\ruby\lib\ruby\gems
  \1.8\cache.  In the second case, I tried another directory (I am not
  sure if that is what the -i option is for).  Since the commonwatir gem
  is in the cache, apparently it is not looking at my copied cache.

  Jeff

  On Mar 5, 6:54 pm, Al Snow jas...@hotmail.com wrote:

  Jeff,

  After you have the gem copied to your machine,
  you can run this command: gem install watir --local
  where the --local will only look for the gem to
  install on your local machine.

  Thanks,
  Al Snow
  Agile Software Automation Architect
  Linkedin:http://www.linkedin.com/in/alsnow
  Google Talk: jasnow1
  Twitter: jasnow

  Date: Thu, 5 Mar 2009 17:12:21 -0800
  Subject: [wtr-general] installing watir behind a firewall on Windows
  From: jeffrey.fl...@gmail.com
  To: watir-general@googlegroups.com

  I am not able to install watir on Windows either by using the
  HTTP_PROXY environmental variable, nor by using the -p option for gem
  install.  My firewall is password protected, so I get a 407 error.

  I resorted to zipping up the cache directory from a machine that is
  not behind a firewall(C:\ruby\lib\ruby\gems\1.8\cache) and copying the
  zip file to the machine that is behind the firewall.

  Now, I need help with the right gem install command to get this local
  cache to be recognized.

  I appreciate it!

  Jeff

  _
  Windows Live™: Life without 
  walls.http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032...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: installing watir behind a firewall on Windows

2009-03-06 Thread MatchBook

Al,

It necessary for me to specify the cache directory?  (Or can you
confirm for where the correct place is to place the cache directory?)
Here is what I have tried so far:

p:\Jeffgem install watir -l
ERROR:  While executing gem ... (RuntimeEr
Error instaling watir:
watir requires commonwatir = 1.6.2


p:\Jeffgem install watir -l -i p:\jeff\cache
ERROR:  While executing gem ... (RuntimeError)
Error instaling watir:
watir requires commonwatir = 1.6.2


In the first case, I put the cache in C:\ruby\lib\ruby\gems
\1.8\cache.  In the second case, I tried another directory (I am not
sure if that is what the -i option is for).  Since the commonwatir gem
is in the cache, apparently it is not looking at my copied cache.


Jeff

On Mar 5, 6:54 pm, Al Snow jas...@hotmail.com wrote:
 Jeff,

 After you have the gem copied to your machine,
 you can run this command: gem install watir --local
 where the --local will only look for the gem to
 install on your local machine.

 Thanks,
 Al Snow
 Agile Software Automation Architect
 Linkedin:http://www.linkedin.com/in/alsnow
 Google Talk: jasnow1
 Twitter: jasnow





  Date: Thu, 5 Mar 2009 17:12:21 -0800
  Subject: [wtr-general] installing watir behind a firewall on Windows
  From: jeffrey.fl...@gmail.com
  To: watir-general@googlegroups.com

  I am not able to install watir on Windows either by using the
  HTTP_PROXY environmental variable, nor by using the -p option for gem
  install.  My firewall is password protected, so I get a 407 error.

  I resorted to zipping up the cache directory from a machine that is
  not behind a firewall(C:\ruby\lib\ruby\gems\1.8\cache) and copying the
  zip file to the machine that is behind the firewall.

  Now, I need help with the right gem install command to get this local
  cache to be recognized.

  I appreciate it!

  Jeff

 _
 Windows Live™: Life without 
 walls.http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009-
  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] Silverlight

2008-12-29 Thread MatchBook


Do we have a gem that supports Silverlight?

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---