[wtr-general] no such file to load -- watir (LoadError)

2008-12-08 Thread pallavi shashidhar
Hi there,
I have installed Ruby 1.8.6-26 and did a gem update --system and then
installed a local watir gem .
I installed watir using gem install watir -dir /watir1.5.6
When i try to run the scripts, i get the following error:
C:/Ruby1.8.6-26/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- watir (LoadError)
from
C:/Ruby1.8.6-26/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'

Need to know what could be the problem.

Regards,
Pallavi

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: error is generating while using require 'watir'

2008-12-08 Thread Jagdeep Jain

Check if you path contains watir.

mine is C:\Ruby\lib\ruby\gems\1.8\gems\

Also have you installed watir properly?
Navigate to the site http://wtr.rubyforge.org/install.html for more
information.

Thanks,
Jagdeep

On Dec 8, 4:57 pm, Parul [EMAIL PROTECTED] wrote:
 hello frnds,

 in my script whenever i use require 'watir',it generates an error :

 ruby e2.rb

 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
 `gem_original_require': no such file to load -- watir (LoadError)
         from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
 `require'
         from e2.rb:1

 Exit code: 1

 without using watir,it works fine,using require rubygems
 can anybody help me out why is it so?also tell me via example that if
 i wanna open a new browser without using watir than what would be the
 syntax?

 Thanks
 Parul

 Thanks  Regards
 Parul
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] error is generating while using require 'watir'

2008-12-08 Thread Parul

hello frnds,

in my script whenever i use require 'watir',it generates an error :

ruby e2.rb
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- watir (LoadError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from e2.rb:1
Exit code: 1

without using watir,it works fine,using require rubygems
can anybody help me out why is it so?also tell me via example that if
i wanna open a new browser without using watir than what would be the
syntax?



Thanks
Parul



Thanks  Regards
Parul
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Problem using 'ie' commands inside definations

2008-12-08 Thread Jagdeep Jain

Hello,

def getUsertId
  return ie.frame(rightFrame).table(:id,listOfIdWithFirstName)[row]
[column].to_s
end

Usage is as follows:
puts getUserId(2,3)

Above is the method that I want to use for returning values from the
table cell but this is not working for me and following is the error I
am getting after executing the script...

getters.rb:99:in `getUsertId': undefined local variable or method `ie'
for main:Object (NameError)
from getters.rb:108

Should I need to include 'ie' in the argument? If yes then how can I
include frames in the argument?

Thanks,
Jagdeep Jain
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Please guide about watir-Ruby

2008-12-08 Thread Anna Gabutero

On Mon, Dec 08, 2008 at 01:55:22AM -0800, Parul wrote:
 
 Hi,
 
 I’m a new user of Watir-Ruby.
 
 I’ve installed it on my machine n while executing I’m getting an
 error.
 
 
 
 ruby e1.rb
 
 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
 `gem_original_require': no such file to load -- watir (LoadError)

This error means that you don't have Watir installed correctly.  Open up
a command prompt and type gem install watir.

If it still doesn't work, please post the contents of your e1.rb script.

- Anna


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: no such file to load -- watir (LoadError)

2008-12-08 Thread anna barbara ostrowska
Hi there!
Add to script require 'rubygems', I had the same problem and it helps :)

2008/12/8 pallavi shashidhar [EMAIL PROTECTED]

 Hi there,
 I have installed Ruby 1.8.6-26 and did a gem update --system and then
 installed a local watir gem .
 I installed watir using gem install watir -dir /watir1.5.6
 When i try to run the scripts, i get the following error:
 C:/Ruby1.8.6-26/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
 `gem_original_require': no such file to load -- watir (LoadError)
 from
 C:/Ruby1.8.6-26/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
 `require'

 Need to know what could be the problem.

 Regards,
 Pallavi

 


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: button.Click_No_Wait only highlights the button, does not click

2008-12-08 Thread [EMAIL PROTECTED]

XP SP2
Ruby 1.8
Watir 1.6.2
IE 7.0.5730.13

For what it's worth, I'm not an administrator on this machine, which
has caused some problems with Ruby in the past but never anything
(that I know of, anyway) like this.  I also have the IE developer
toolbar installed, which is about the extent of the weirdness that I
can think of.  Anything else I should find out?
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: watir help: click_no_wait doesn't actually click

2008-12-08 Thread Bret Pettichord

Larry,

We've had multiple reports of this problem with click_no_wait, but I 
have not been able to reproduce them.

Bret

[EMAIL PROTECTED] wrote:
 Hey all -

 I'm trying to dismiss popups as described at
 http://wiki.seleniumhq.org/display/WTR/JavaScript+Pop+Ups, solution
 #5.  The first problem was that watir/contrib/enabled_popup was
 unhappy, but that was fixed by requiring watir/ie (per another post
 from this group, 
 http://groups.google.com/group/watir-general/browse_thread/thread/f3d3d8f6023890cb/016c62b5a5ff6fb6?pli=1).
 Now, though, it gets to the click_no_wait line and apparently does
 nothing.  Or, not quite nothing: when Ruby selects anything, a link or
 a field or a button or a whatever, it highlights it yellow, and I can
 see that it's selecting the correct button.  It just doesn't click it.

 In other words, if I use BROWSER.button(:id,
 Btndelete).click_no_wait nothing happens except the button turns
 yellow for a split-second; if I use BROWSER.button(:id,
 Btndelete).click it actually clicks (but then, of course, the popup
 code never executes).  I've got Ruby 1.8 and Watir 1.6.2.  Thanks in
 advance...

 
   


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Know how to make a screencast?

2008-12-08 Thread Pete Dignan

If you subscribe to this list, you probably know how to use Watir.
The more people and companies that know and use Watir, the more
valuable your Watir skills become.  I have been thinking about ways to
get more testers to try Watir, especially people who do not consider
themselves to be test automators (yet).

What if there were some short (one or two minute) how-to screencasts
about how easy it is to get started with Watir?  For (a longer)
example, see: http://media.railscasts.com/videos/138_i18n.mov

We could post those in various places (wtr.rubyforge.com, www.watircraft.com,
anyplace anyone would host them) and give potential new users a quick
way to become familiar with Watir and gain confidence to download and
try it.

Does anyone have experience making screencasts like this?  Would
anyone be willing to take this on - try making the first Watir
screencast?

Just curious,

Pete



--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Know how to make a screencast?

2008-12-08 Thread Charley Baker
We've already taken on screencasts: http://github.com/scudco/taza/wikis.
Taza is currently in development, so there are a lot of changes we want to
make based on your feedback.  As we expand into different oses, there are
different tools that you can use to make screencasts. We can post some of
them on the Watir wiki.
-c


Charley Baker
blog: http://charleybakersblog.blogspot.com/
Project Manager, Watir, http://wtr.rubyforge.org
QA Architect, Gap Inc Direct


On Mon, Dec 8, 2008 at 3:37 PM, Pete Dignan [EMAIL PROTECTED] wrote:


 If you subscribe to this list, you probably know how to use Watir.
 The more people and companies that know and use Watir, the more
 valuable your Watir skills become.  I have been thinking about ways to
 get more testers to try Watir, especially people who do not consider
 themselves to be test automators (yet).

 What if there were some short (one or two minute) how-to screencasts
 about how easy it is to get started with Watir?  For (a longer)
 example, see: http://media.railscasts.com/videos/138_i18n.mov

 We could post those in various places (wtr.rubyforge.com,
 www.watircraft.com,
 anyplace anyone would host them) and give potential new users a quick
 way to become familiar with Watir and gain confidence to download and
 try it.

 Does anyone have experience making screencasts like this?  Would
 anyone be willing to take this on - try making the first Watir
 screencast?

 Just curious,

 Pete



 


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: button.Click_No_Wait only highlights the button, does not click

2008-12-08 Thread HAHAHA

I have the same problem. I don't know why it highlight the button but
not click it.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: button.Click_No_Wait only highlights the button, does not click

2008-12-08 Thread Ning Cao

I have the same issue, I don't know if it's related to taking away the
include 'watir' line cause I remember I had to add that line to make
it work.

Contacted the author of the enabled_popup David Schmidt, he said he
hasn't used Watir for over two years so he can't help anymore.

Neil


-Original Message-
From: watir-general@googlegroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of HAHAHA
Sent: Monday, December 08, 2008 1:43 PM
To: Watir General
Subject: [wtr-general] Re: button.Click_No_Wait only highlights the
button, does not click


I have the same problem. I don't know why it highlight the button but
not click it.



--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Problem using 'ie' commands inside definations

2008-12-08 Thread Jagdeep Jain

Thanks Michael,

It works now...

Jagdeep

On Dec 8, 11:29 pm, Michael Hwee [EMAIL PROTECTED] wrote:
 change all your 'ie' to '$ie' in your scripts.

 - Original Message 
 From: Jagdeep Jain [EMAIL PROTECTED]
 To: Watir General watir-general@googlegroups.com
 Sent: Monday, December 8, 2008 5:55:19 AM
 Subject: [wtr-general] Problem using 'ie' commands inside definations

 Hello,

 def getUsertId
   return ie.frame(rightFrame).table(:id,listOfIdWithFirstName)[row]
 [column].to_s
 end

 Usage is as follows:
 puts getUserId(2,3)

 Above is the method that I want to use for returning values from the
 table cell but this is not working for me and following is the error I
 am getting after executing the script...

 getters.rb:99:in `getUsertId': undefined local variable or method `ie'
 for main:Object (NameError)
     from getters.rb:108

 Should I need to include 'ie' in the argument? If yes then how can I
 include frames in the argument?

 Thanks,
 Jagdeep Jain
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: no such file to load -- watir (LoadError)

2008-12-08 Thread pallavi shashidhar
I get the same problem even after require 'rubygems' error is at the line
where i have require 'watir'

On Tue, Dec 9, 2008 at 1:59 AM, anna barbara ostrowska 
[EMAIL PROTECTED] wrote:

 Hi there!
 Add to script require 'rubygems', I had the same problem and it helps :)

 2008/12/8 pallavi shashidhar [EMAIL PROTECTED]

 Hi there,
 I have installed Ruby 1.8.6-26 and did a gem update --system and then
 installed a local watir gem .
 I installed watir using gem install watir -dir /watir1.5.6
 When i try to run the scripts, i get the following error:
 C:/Ruby1.8.6-26/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
 `gem_original_require': no such file to load -- watir (LoadError)
 from
 C:/Ruby1.8.6-26/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
 `require'

 Need to know what could be the problem.

 Regards,
 Pallavi




 


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---