Re: [wtr-general] Uninitialized constant TinyTds error for SQL Server connection string in Ruby/Mac

2012-08-08 Thread MjHerz
> > Željko, that was the issue, so thank you very much. I thought with > "require rubygems" that my local installed gems would be available to the > script, but now I know to explicitly call them. In listening to the > podcast I've heard some discussion on having frameworks or settings where

Re: [wtr-general] Uninitialized constant TinyTds error for SQL Server connection string in Ruby/Mac

2012-08-08 Thread Željko Filipin
On Tue, Aug 7, 2012 at 11:18 PM, MjHerz wrote: > "uninitialized constant TinyTds (NameError)" > require "rubygems"; > client = TinyTds::Client.new(:username => 'username', :password => 'password', :host => 'hostname') My guess is that you did nto require tiny_tds. Try this: require "rubygems" re

[wtr-general] Uninitialized constant TinyTds error for SQL Server connection string in Ruby/Mac

2012-08-07 Thread MjHerz
Disclaimer: This ruby/sql issue is indirectly related to this user group, but after scouring the internet and not having luck I thought I'd check if anyone in the Watir community has overcome this issue. I am trying to connect to MS SQL Server inside a ruby script that contains some watir-webd

Re: [wtr-general] uninitialized constant Watir

2010-06-18 Thread Felipe Knorr Kuhn
I would guess you have to import the rubygems package as well. Can you try that? On Fri, Jun 18, 2010 at 1:48 PM, Adam wrote: > i have a question about a REALLY weird error I'm getting > using notepad++ windows 7, ruby 1.8.6, latest installation of Watir > using "gem install watir" command > so

[wtr-general] uninitialized constant Watir

2010-06-18 Thread Adam
i have a question about a REALLY weird error I'm getting using notepad++ windows 7, ruby 1.8.6, latest installation of Watir using "gem install watir" command so i changed the filename of my ruby script yesterday and now whenever I add the line require 'watir' i get the following error message: .

[wtr-general] uninitialized constant Watir::PageContainer::Win32

2009-10-30 Thread Shlomit Gazit
I am trying to use enabled_popup.rb. I added require 'watir/contrib/ enabled_popup', but when I am starting the server I am getting: C:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/ enabled_popup.rb:5: uninitialized constant Watir::PageContainer::Win32 (NameError) from C:/ru

[wtr-general] uninitialized constant error in windows-pr-0.9.3 gem when trying to run watir?

2009-04-21 Thread Chuck van der Linden
Not sure what's up, if maybe I'm missing a gem or something.. am in middle of trying to move over to my Vista workstation as my primary scripting platform (was running on a server 2003 virtual VM running under hyper-v, which worked fine) installed ruby did gem update --system installed watircraf

[wtr-general] uninitialized constant Windows::API::Error (NameError)

2009-03-30 Thread Dennis I.
I tried installing Watir at home a while ago and kept getting an error. I followed some instructions here from a different discussion that mentioned installing and reinstalling some gems. That didn't work. And today I tried again. Here is the error that I get. >ruby test.rb C:/Ruby/lib/ruby/gems/

[wtr-general] uninitialized constant Watir::Container::TextField (NameError)

2009-02-11 Thread Martin
C:\>gem update --system Updating RubyGems Nothing to update C:\>gem install watir Successfully installed watir-1.6.2 1 gem installed Installing ri documentation for watir-1.6.2... Installing RDoc documentation for watir-1.6.2... My script: require 'watir' include Watir Watir::Browser.default = '

[wtr-general] uninitialized constant Watir::IE (NameError)

2008-11-28 Thread Gigi
Hello, I am new using Watir. I am trying to implement a Concurrent Search test but every time I run the example below I am getting the error: >ruby google.rb 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 :value, "Google Sea

[wtr-general] Uninitialized Constant

2008-11-13 Thread Bret Pettichord
A number of people are running into a problem with Watir 1.6 that has a simple solution. If you are getting an "Uninitialized Constant" error, please add "require 'watir/ie'" to your script. Here is a long explanation for what is happening. With Watir 1.5 and prior "require 'watir'" loaded th