[wtr-general] Re: confused with versioning in Watir

2011-10-12 Thread Jarmo
Hi!

Try not to reply to me directly, but reply to the watir-general list instead
:)

And what is exactly showing "1.8.7" for you? What would you expect it to
show instead?

Jarmo

On Wed, Oct 12, 2011 at 6:29 PM, Babu  wrote:

> i got it...now thanks
> it is showing the 1.8.7
> thanks
> babu
>
> On Oct 12, 4:54 am, Jarmo Pertman  wrote:
> > What does $LOAD_PATH tell you:
> > irb(main):005:0> $LOAD_PATH.grep /watir/
> > => ["C:/bin/pik/Ruby-187-p302/lib/ruby/gems/1.8/gems/watir-2.0.2/lib/
> > watir/win32ole/1.8.7", "C:/bin/pik/Ruby-187-p302/lib/ruby/gems/1.8/
> > gems/commonwat
> > ir-2.0.2/lib", "C:/bin/pik/Ruby-187-p302/lib/ruby/gems/1.8/gems/
> > watir-2.0.2/lib", "C:/bin/pik/Ruby-187-p302/lib/ruby/gems/1.8/gems/
> > firewatir-1.9.4/lib
> > "]
> >
> > This shows me that i have loaded watir-2.0.2. What version of Ruby do
> > you even have?
> >
> > Jarmo Pertman
> > -
> > IT does really matter -http://itreallymatters.net
> >
> > On Oct 12, 3:00 am, Chuck van der Linden  wrote:
> >
> >
> >
> > > On Oct 11, 9:40 am, Babu  wrote:
> >
> > > > if i uninstall ruby then i have to install all the  gems again
> > > > manually since in my office there is firewall issue so i download and
> > > > install all the gems manually.
> >
> > > You could look into using RVM (for linux/mac) or PIK (windows) to
> > > manage multiple versions of ruby, and sets of gems, at once.  That
> > > might provide you with some shortcuts, and I think when you sync/clone
> > > a set of gems it's going by what's installed via the gem manager so
> > > might let you get rid of any bogus files you are saddled with- Hide
> quoted text -
> >
> > - Show quoted text -
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] Re: confused with versioning in Watir

2011-10-12 Thread Jarmo Pertman
What does $LOAD_PATH tell you:
irb(main):005:0> $LOAD_PATH.grep /watir/
=> ["C:/bin/pik/Ruby-187-p302/lib/ruby/gems/1.8/gems/watir-2.0.2/lib/
watir/win32ole/1.8.7", "C:/bin/pik/Ruby-187-p302/lib/ruby/gems/1.8/
gems/commonwat
ir-2.0.2/lib", "C:/bin/pik/Ruby-187-p302/lib/ruby/gems/1.8/gems/
watir-2.0.2/lib", "C:/bin/pik/Ruby-187-p302/lib/ruby/gems/1.8/gems/
firewatir-1.9.4/lib
"]

This shows me that i have loaded watir-2.0.2. What version of Ruby do
you even have?

Jarmo Pertman
-
IT does really matter - http://itreallymatters.net


On Oct 12, 3:00 am, Chuck van der Linden  wrote:
> On Oct 11, 9:40 am, Babu  wrote:
>
> > if i uninstall ruby then i have to install all the  gems again
> > manually since in my office there is firewall issue so i download and
> > install all the gems manually.
>
> You could look into using RVM (for linux/mac) or PIK (windows) to
> manage multiple versions of ruby, and sets of gems, at once.  That
> might provide you with some shortcuts, and I think when you sync/clone
> a set of gems it's going by what's installed via the gem manager so
> might let you get rid of any bogus files you are saddled with

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Re: confused with versioning in Watir

2011-10-12 Thread Željko Filipin
On Tue, Oct 11, 2011 at 6:40 PM, Babu  wrote:
> if i uninstall ruby then i have to install all the  gems again
> manually since in my office there is firewall issue so i download and
> install all the gems manually.

In that case Ruby reinstall is not the easiest way (it was for me). I
suggest that you uninstall all watir gems, and then see what this returns:

puts Watir::IE::VERSION

This does not even work for me, I get uninitialized constant error. I have
watir 2.0.2 gem.

This works, it returns 2.0.2:

puts Watir::VERSION

So, after you have uninstalled all watir gems, search your ruby folder
(usually c:\ruby) for watir and delete the watir folder. (Make a copy of
your ruby folder before deleting anything manually, just in case.)

After deleting watir folder, try this again:

puts Watir::IE::VERSION

If it says something like "I do not know anything about this thing Watir you
are talking about", then install watir with:

gem install watir

Željko

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] Re: confused with versioning in Watir

2011-10-11 Thread Chuck van der Linden
On Oct 11, 9:40 am, Babu  wrote:
> if i uninstall ruby then i have to install all the  gems again
> manually since in my office there is firewall issue so i download and
> install all the gems manually.
>

You could look into using RVM (for linux/mac) or PIK (windows) to
manage multiple versions of ruby, and sets of gems, at once.  That
might provide you with some shortcuts, and I think when you sync/clone
a set of gems it's going by what's installed via the gem manager so
might let you get rid of any bogus files you are saddled with

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] Re: confused with versioning in Watir

2011-10-11 Thread Joe DiMauro
Babu,

What do you now get fromWatir::VERSION

Joe


On Oct 11, 1:15 pm, Babu  wrote:
> i already removed the older version of firewatir and commonwatir
> activesupport (3.1.1)
> builder (3.0.0)
> child-process-manager (0.0.3)
> childprocess (0.2.2)
> commonwatir (2.0.2)
> fattr (2.2.0)
> ffi (1.0.9)
> firewatir (1.9.4)
> flexmock (0.9.0)
> hoe (2.12.3)
> json_pure (1.6.1)
> minitest (2.6.1)
> multi_json (1.0.3)
> rake (0.9.2)
> rautomation (0.6.3)
> rubygems-update (1.8.10)
> rubyzip (0.9.4)
> s4t-utils (1.0.4)
> selenium-webdriver (2.7.0)
> session (3.1.0)
> user-choices (1.1.6.1)
> watir (2.0.2)
> watir-webdriver (0.3.5, 0.3.4)
> win32-api (1.4.8)
> win32-process (0.6.5)
> windows-api (0.4.0)
> windows-pr (1.2.1)
> xml-simple (1.1.0)
>
> still i have 1.4.1 on Watir::IE::VERSION
> thanks
>
> On Oct 11, 1:53 pm, Chuck van der Linden  wrote:
>
> > Are there some individual files he could hunt down and remove, and
> > then just re-install the watir gem?
>
> > Would getting rid of the 1.6.5 versions of commonwatir and firewatir
> > help?
>
> > On Oct 11, 9:40 am, Babu  wrote:
>
> > > if i uninstall ruby then i have to install all the  gems again
> > > manually since in my office there is firewall issue so i download and
> > > install all the gems manually.
>
> > > On Oct 11, 11:12 am, Željko Filipin 
> > > wrote:
>
> > > > As I said, you probably have 1.4.1 installed from exe file. Uninstall 
> > > > ruby
> > > > and install it again.
>
> > > > Zeljko
>
> > > > On Tuesday, October 11, 2011, Babu  wrote:
> > > > > hi joe,
> > > > > i did exactly what you told.
> > > > > =
> > > > > C:\Suvo>
> > > > > Watir::FileField
> > > > > Watir::Button
> > > > > Watir::SelectList
> > > > > Watir::Link
> > > > > Watir::Image
> > > > > Watir::TableCell
> > > > > Watir::TableRow
> > > > > Watir::TableBody
> > > > > Watir::TableBodies
> > > > > Watir::Table
> > > > > Watir::Label
> > > > > Watir::Span
> > > > > Watir::Div
> > > > > Watir::P
> > > > > Watir::SpanDivCommon
> > > > > 1.4.1
>
> > > > > C:\Suvo>gem list watir
>
> > > > > *** LOCAL GEMS ***
>
> > > > > watir (2.0.2)
> > > > > watir-webdriver (0.3.5, 0.3.4)
>
> > > > > C:\Suvo>
>
> > > > > still i have 1.4.1 on Watir::IE::VERSION
> > > > > here is my more deatils:
> > > > > ==
> > > > > C:\Suvo>ruby -v
> > > > > ruby 1.8.7 (2011-06-30 patchlevel 352) [i386-mingw32]
>
> > > > > C:\Suvo>gem -v
> > > > > 1.8.10
>
> > > > > C:\Suvo>gem list
>
> > > > > *** LOCAL GEMS ***
>
> > > > > activesupport (3.1.1)
> > > > > builder (3.0.0)
> > > > > child-process-manager (0.0.3)
> > > > > childprocess (0.2.2)
> > > > > commonwatir (2.0.2, 1.6.5)
> > > > > fattr (2.2.0)
> > > > > ffi (1.0.9)
> > > > > firewatir (1.9.4, 1.6.5)
> > > > > flexmock (0.9.0)
> > > > > hoe (2.12.3)
> > > > > json_pure (1.6.1)
> > > > > minitest (2.6.1)
> > > > > multi_json (1.0.3)
> > > > > rake (0.9.2)
> > > > > rautomation (0.6.3)
> > > > > rubygems-update (1.8.10, 1.8.9)
> > > > > rubyzip (0.9.4)
> > > > > s4t-utils (1.0.4)
> > > > > selenium-webdriver (2.7.0)
> > > > > session (3.1.0)
> > > > > user-choices (1.1.6.1)
> > > > > watir (2.0.2)
> > > > > watir-webdriver (0.3.5, 0.3.4)
> > > > > win32-api (1.4.8)
> > > > > win32-process (0.6.5)
> > > > > windows-api (0.4.0)
> > > > > windows-pr (1.2.1)
> > > > > xml-simple (1.1.0)
>
> > > > > thanks
>
> > > > > On Oct 11, 8:41 am, Joe DiMauro  wrote:
> > > > >> Babu,
>
> > > > >> I can see why you are confused as the value returned from the method
> > > > >> Watir::IE::VERSION does not match the version of the gem.
>
> > > > >> Watir::IE::VERSION gives you the version of the IE Browser.
> > > > >> Watir::VERSION gives you the version of Watir.
>
> > > > >> That said, here are some things to check:
> > > > >> 1. What versions of the gem are installed? You can have multiple
> > > > >> versions.
> > > > >> 2. Cleanup any unneeded version
> > > > >> 3. See what  is reported using Watir::IE:VERSION
> > > > >> 4. See what is reported using Watir::VERSION
>
> > > > >> Lets start with step 1.
> > > > >> Use the gem list command to see what versions are installed. For
> > > > >> example:
> > > > >>     C:\Users\Joe\workspace>gem list watir
>
> > > > >>     *** LOCAL GEMS ***
>
> > > > >>     watir (1.9.2, 1.6.5)
> > > > >>     watir-webdriver (0.3.5, 0.3.2)
>
> > > > >> Notice that it reports on any gem that contaisn "watir" in its name.
>
> > > > >> Step 2.
> > > > >> Now use the gem cleanup command to remove the old version.
> > > > >>     C:\Users\Joe\workspace>gem cleanup watir
> > > > >>     Cleaning up installed gems...
> > > > >>     Attempting to uninstall watir-1.6.5
> > > > >>     Successfully uninstalled watir-1.6.5
> > > > >>     Clean Up Complete
>
> > > > >> Recheck the versions
> > > > >>     C:\Users\Joe\workspace>gem list watir
>
> > > > >>     *** LOCAL GEMS ***
>
> > > > >>     watir (1.9.2)
> > > > >>     watir-webdriver (0.3.5, 0.3.2)
> > > > >>     watirworks (0.1.4)
>
> > > > >> Step 3.
> > > > >> Now

[wtr-general] Re: confused with versioning in Watir

2011-10-11 Thread Babu
i already removed the older version of firewatir and commonwatir
activesupport (3.1.1)
builder (3.0.0)
child-process-manager (0.0.3)
childprocess (0.2.2)
commonwatir (2.0.2)
fattr (2.2.0)
ffi (1.0.9)
firewatir (1.9.4)
flexmock (0.9.0)
hoe (2.12.3)
json_pure (1.6.1)
minitest (2.6.1)
multi_json (1.0.3)
rake (0.9.2)
rautomation (0.6.3)
rubygems-update (1.8.10)
rubyzip (0.9.4)
s4t-utils (1.0.4)
selenium-webdriver (2.7.0)
session (3.1.0)
user-choices (1.1.6.1)
watir (2.0.2)
watir-webdriver (0.3.5, 0.3.4)
win32-api (1.4.8)
win32-process (0.6.5)
windows-api (0.4.0)
windows-pr (1.2.1)
xml-simple (1.1.0)

still i have 1.4.1 on Watir::IE::VERSION
thanks

On Oct 11, 1:53 pm, Chuck van der Linden  wrote:
> Are there some individual files he could hunt down and remove, and
> then just re-install the watir gem?
>
> Would getting rid of the 1.6.5 versions of commonwatir and firewatir
> help?
>
> On Oct 11, 9:40 am, Babu  wrote:
>
>
>
> > if i uninstall ruby then i have to install all the  gems again
> > manually since in my office there is firewall issue so i download and
> > install all the gems manually.
>
> > On Oct 11, 11:12 am, Željko Filipin 
> > wrote:
>
> > > As I said, you probably have 1.4.1 installed from exe file. Uninstall ruby
> > > and install it again.
>
> > > Zeljko
>
> > > On Tuesday, October 11, 2011, Babu  wrote:
> > > > hi joe,
> > > > i did exactly what you told.
> > > > =
> > > > C:\Suvo>
> > > > Watir::FileField
> > > > Watir::Button
> > > > Watir::SelectList
> > > > Watir::Link
> > > > Watir::Image
> > > > Watir::TableCell
> > > > Watir::TableRow
> > > > Watir::TableBody
> > > > Watir::TableBodies
> > > > Watir::Table
> > > > Watir::Label
> > > > Watir::Span
> > > > Watir::Div
> > > > Watir::P
> > > > Watir::SpanDivCommon
> > > > 1.4.1
>
> > > > C:\Suvo>gem list watir
>
> > > > *** LOCAL GEMS ***
>
> > > > watir (2.0.2)
> > > > watir-webdriver (0.3.5, 0.3.4)
>
> > > > C:\Suvo>
>
> > > > still i have 1.4.1 on Watir::IE::VERSION
> > > > here is my more deatils:
> > > > ==
> > > > C:\Suvo>ruby -v
> > > > ruby 1.8.7 (2011-06-30 patchlevel 352) [i386-mingw32]
>
> > > > C:\Suvo>gem -v
> > > > 1.8.10
>
> > > > C:\Suvo>gem list
>
> > > > *** LOCAL GEMS ***
>
> > > > activesupport (3.1.1)
> > > > builder (3.0.0)
> > > > child-process-manager (0.0.3)
> > > > childprocess (0.2.2)
> > > > commonwatir (2.0.2, 1.6.5)
> > > > fattr (2.2.0)
> > > > ffi (1.0.9)
> > > > firewatir (1.9.4, 1.6.5)
> > > > flexmock (0.9.0)
> > > > hoe (2.12.3)
> > > > json_pure (1.6.1)
> > > > minitest (2.6.1)
> > > > multi_json (1.0.3)
> > > > rake (0.9.2)
> > > > rautomation (0.6.3)
> > > > rubygems-update (1.8.10, 1.8.9)
> > > > rubyzip (0.9.4)
> > > > s4t-utils (1.0.4)
> > > > selenium-webdriver (2.7.0)
> > > > session (3.1.0)
> > > > user-choices (1.1.6.1)
> > > > watir (2.0.2)
> > > > watir-webdriver (0.3.5, 0.3.4)
> > > > win32-api (1.4.8)
> > > > win32-process (0.6.5)
> > > > windows-api (0.4.0)
> > > > windows-pr (1.2.1)
> > > > xml-simple (1.1.0)
>
> > > > thanks
>
> > > > On Oct 11, 8:41 am, Joe DiMauro  wrote:
> > > >> Babu,
>
> > > >> I can see why you are confused as the value returned from the method
> > > >> Watir::IE::VERSION does not match the version of the gem.
>
> > > >> Watir::IE::VERSION gives you the version of the IE Browser.
> > > >> Watir::VERSION gives you the version of Watir.
>
> > > >> That said, here are some things to check:
> > > >> 1. What versions of the gem are installed? You can have multiple
> > > >> versions.
> > > >> 2. Cleanup any unneeded version
> > > >> 3. See what  is reported using Watir::IE:VERSION
> > > >> 4. See what is reported using Watir::VERSION
>
> > > >> Lets start with step 1.
> > > >> Use the gem list command to see what versions are installed. For
> > > >> example:
> > > >>     C:\Users\Joe\workspace>gem list watir
>
> > > >>     *** LOCAL GEMS ***
>
> > > >>     watir (1.9.2, 1.6.5)
> > > >>     watir-webdriver (0.3.5, 0.3.2)
>
> > > >> Notice that it reports on any gem that contaisn "watir" in its name.
>
> > > >> Step 2.
> > > >> Now use the gem cleanup command to remove the old version.
> > > >>     C:\Users\Joe\workspace>gem cleanup watir
> > > >>     Cleaning up installed gems...
> > > >>     Attempting to uninstall watir-1.6.5
> > > >>     Successfully uninstalled watir-1.6.5
> > > >>     Clean Up Complete
>
> > > >> Recheck the versions
> > > >>     C:\Users\Joe\workspace>gem list watir
>
> > > >>     *** LOCAL GEMS ***
>
> > > >>     watir (1.9.2)
> > > >>     watir-webdriver (0.3.5, 0.3.2)
> > > >>     watirworks (0.1.4)
>
> > > >> Step 3.
> > > >> Now that we know that only the Watir (1.9.2) em is installed lets look
> > > >> at what Watir::IE::VERSION returns.
> > > >>     C:\Users\Joe\workspace>irb
> > > >>     irb(main):001:0> require 'watir'
> > > >>     => true
> > > >>     irb(main):002:0> Watir::IE::VERSION
> > > >>     (irb):3: warning: toplevel constant VERSION referenced by
> > > >> Watir::IE::VERSION
> > > >>     => "1.

[wtr-general] Re: confused with versioning in Watir

2011-10-11 Thread Chuck van der Linden
Are there some individual files he could hunt down and remove, and
then just re-install the watir gem?

Would getting rid of the 1.6.5 versions of commonwatir and firewatir
help?

On Oct 11, 9:40 am, Babu  wrote:
> if i uninstall ruby then i have to install all the  gems again
> manually since in my office there is firewall issue so i download and
> install all the gems manually.
>
> On Oct 11, 11:12 am, Željko Filipin 
> wrote:
>
>
>
>
>
>
>
> > As I said, you probably have 1.4.1 installed from exe file. Uninstall ruby
> > and install it again.
>
> > Zeljko
>
> > On Tuesday, October 11, 2011, Babu  wrote:
> > > hi joe,
> > > i did exactly what you told.
> > > =
> > > C:\Suvo>
> > > Watir::FileField
> > > Watir::Button
> > > Watir::SelectList
> > > Watir::Link
> > > Watir::Image
> > > Watir::TableCell
> > > Watir::TableRow
> > > Watir::TableBody
> > > Watir::TableBodies
> > > Watir::Table
> > > Watir::Label
> > > Watir::Span
> > > Watir::Div
> > > Watir::P
> > > Watir::SpanDivCommon
> > > 1.4.1
>
> > > C:\Suvo>gem list watir
>
> > > *** LOCAL GEMS ***
>
> > > watir (2.0.2)
> > > watir-webdriver (0.3.5, 0.3.4)
>
> > > C:\Suvo>
>
> > > still i have 1.4.1 on Watir::IE::VERSION
> > > here is my more deatils:
> > > ==
> > > C:\Suvo>ruby -v
> > > ruby 1.8.7 (2011-06-30 patchlevel 352) [i386-mingw32]
>
> > > C:\Suvo>gem -v
> > > 1.8.10
>
> > > C:\Suvo>gem list
>
> > > *** LOCAL GEMS ***
>
> > > activesupport (3.1.1)
> > > builder (3.0.0)
> > > child-process-manager (0.0.3)
> > > childprocess (0.2.2)
> > > commonwatir (2.0.2, 1.6.5)
> > > fattr (2.2.0)
> > > ffi (1.0.9)
> > > firewatir (1.9.4, 1.6.5)
> > > flexmock (0.9.0)
> > > hoe (2.12.3)
> > > json_pure (1.6.1)
> > > minitest (2.6.1)
> > > multi_json (1.0.3)
> > > rake (0.9.2)
> > > rautomation (0.6.3)
> > > rubygems-update (1.8.10, 1.8.9)
> > > rubyzip (0.9.4)
> > > s4t-utils (1.0.4)
> > > selenium-webdriver (2.7.0)
> > > session (3.1.0)
> > > user-choices (1.1.6.1)
> > > watir (2.0.2)
> > > watir-webdriver (0.3.5, 0.3.4)
> > > win32-api (1.4.8)
> > > win32-process (0.6.5)
> > > windows-api (0.4.0)
> > > windows-pr (1.2.1)
> > > xml-simple (1.1.0)
>
> > > thanks
>
> > > On Oct 11, 8:41 am, Joe DiMauro  wrote:
> > >> Babu,
>
> > >> I can see why you are confused as the value returned from the method
> > >> Watir::IE::VERSION does not match the version of the gem.
>
> > >> Watir::IE::VERSION gives you the version of the IE Browser.
> > >> Watir::VERSION gives you the version of Watir.
>
> > >> That said, here are some things to check:
> > >> 1. What versions of the gem are installed? You can have multiple
> > >> versions.
> > >> 2. Cleanup any unneeded version
> > >> 3. See what  is reported using Watir::IE:VERSION
> > >> 4. See what is reported using Watir::VERSION
>
> > >> Lets start with step 1.
> > >> Use the gem list command to see what versions are installed. For
> > >> example:
> > >>     C:\Users\Joe\workspace>gem list watir
>
> > >>     *** LOCAL GEMS ***
>
> > >>     watir (1.9.2, 1.6.5)
> > >>     watir-webdriver (0.3.5, 0.3.2)
>
> > >> Notice that it reports on any gem that contaisn "watir" in its name.
>
> > >> Step 2.
> > >> Now use the gem cleanup command to remove the old version.
> > >>     C:\Users\Joe\workspace>gem cleanup watir
> > >>     Cleaning up installed gems...
> > >>     Attempting to uninstall watir-1.6.5
> > >>     Successfully uninstalled watir-1.6.5
> > >>     Clean Up Complete
>
> > >> Recheck the versions
> > >>     C:\Users\Joe\workspace>gem list watir
>
> > >>     *** LOCAL GEMS ***
>
> > >>     watir (1.9.2)
> > >>     watir-webdriver (0.3.5, 0.3.2)
> > >>     watirworks (0.1.4)
>
> > >> Step 3.
> > >> Now that we know that only the Watir (1.9.2) em is installed lets look
> > >> at what Watir::IE::VERSION returns.
> > >>     C:\Users\Joe\workspace>irb
> > >>     irb(main):001:0> require 'watir'
> > >>     => true
> > >>     irb(main):002:0> Watir::IE::VERSION
> > >>     (irb):3: warning: toplevel constant VERSION referenced by
> > >> Watir::IE::VERSION
> > >>     => "1.8.7"
>
> > >> Hey that's the version of IE I have installed. Cool!
>
> > >> So now lets get the version of Watir:
> > >>     C:\Users\Joe\workspace>irb
> > >>     irb(main):001:0> require 'watir'
> > >>     => true
> > >>    irb(main):003:0> Watir::VERSION
> > >>    => "1.9.2"
>
> > >> And of course that matches the version of the installed gem!
>
> > >> Joe
>
> > >> On Oct 10, 11:49 am, Babu  wrote:
>
> > >> > i have already installed watir 1.6.5 in my gem list.
> > >> > But when i see the watir version as "ruby -e 'require "watir"; puts
> > >> > Watir::IE::VERSION'"
> > >> > it is showing 1.4.1
> > >> > how can i update to 1.6.5
> > >> > since i am not getting all the IE tags in 1.4.1 which is present in
> > >> > 1.6.5- Hide quoted text -
>
> > >> - Show quoted text -
>
> > > --
> > > Before posting, please readhttp://watir.com/support. In short: search
>
> > before you ask, be nice.
>
> > > watir-general@googlegroups.com

[wtr-general] Re: confused with versioning in Watir

2011-10-11 Thread Babu
if i uninstall ruby then i have to install all the  gems again
manually since in my office there is firewall issue so i download and
install all the gems manually.

On Oct 11, 11:12 am, Željko Filipin 
wrote:
> As I said, you probably have 1.4.1 installed from exe file. Uninstall ruby
> and install it again.
>
> Zeljko
>
>
>
>
>
> On Tuesday, October 11, 2011, Babu  wrote:
> > hi joe,
> > i did exactly what you told.
> > =
> > C:\Suvo>
> > Watir::FileField
> > Watir::Button
> > Watir::SelectList
> > Watir::Link
> > Watir::Image
> > Watir::TableCell
> > Watir::TableRow
> > Watir::TableBody
> > Watir::TableBodies
> > Watir::Table
> > Watir::Label
> > Watir::Span
> > Watir::Div
> > Watir::P
> > Watir::SpanDivCommon
> > 1.4.1
>
> > C:\Suvo>gem list watir
>
> > *** LOCAL GEMS ***
>
> > watir (2.0.2)
> > watir-webdriver (0.3.5, 0.3.4)
>
> > C:\Suvo>
>
> > still i have 1.4.1 on Watir::IE::VERSION
> > here is my more deatils:
> > ==
> > C:\Suvo>ruby -v
> > ruby 1.8.7 (2011-06-30 patchlevel 352) [i386-mingw32]
>
> > C:\Suvo>gem -v
> > 1.8.10
>
> > C:\Suvo>gem list
>
> > *** LOCAL GEMS ***
>
> > activesupport (3.1.1)
> > builder (3.0.0)
> > child-process-manager (0.0.3)
> > childprocess (0.2.2)
> > commonwatir (2.0.2, 1.6.5)
> > fattr (2.2.0)
> > ffi (1.0.9)
> > firewatir (1.9.4, 1.6.5)
> > flexmock (0.9.0)
> > hoe (2.12.3)
> > json_pure (1.6.1)
> > minitest (2.6.1)
> > multi_json (1.0.3)
> > rake (0.9.2)
> > rautomation (0.6.3)
> > rubygems-update (1.8.10, 1.8.9)
> > rubyzip (0.9.4)
> > s4t-utils (1.0.4)
> > selenium-webdriver (2.7.0)
> > session (3.1.0)
> > user-choices (1.1.6.1)
> > watir (2.0.2)
> > watir-webdriver (0.3.5, 0.3.4)
> > win32-api (1.4.8)
> > win32-process (0.6.5)
> > windows-api (0.4.0)
> > windows-pr (1.2.1)
> > xml-simple (1.1.0)
>
> > thanks
>
> > On Oct 11, 8:41 am, Joe DiMauro  wrote:
> >> Babu,
>
> >> I can see why you are confused as the value returned from the method
> >> Watir::IE::VERSION does not match the version of the gem.
>
> >> Watir::IE::VERSION gives you the version of the IE Browser.
> >> Watir::VERSION gives you the version of Watir.
>
> >> That said, here are some things to check:
> >> 1. What versions of the gem are installed? You can have multiple
> >> versions.
> >> 2. Cleanup any unneeded version
> >> 3. See what  is reported using Watir::IE:VERSION
> >> 4. See what is reported using Watir::VERSION
>
> >> Lets start with step 1.
> >> Use the gem list command to see what versions are installed. For
> >> example:
> >>     C:\Users\Joe\workspace>gem list watir
>
> >>     *** LOCAL GEMS ***
>
> >>     watir (1.9.2, 1.6.5)
> >>     watir-webdriver (0.3.5, 0.3.2)
>
> >> Notice that it reports on any gem that contaisn "watir" in its name.
>
> >> Step 2.
> >> Now use the gem cleanup command to remove the old version.
> >>     C:\Users\Joe\workspace>gem cleanup watir
> >>     Cleaning up installed gems...
> >>     Attempting to uninstall watir-1.6.5
> >>     Successfully uninstalled watir-1.6.5
> >>     Clean Up Complete
>
> >> Recheck the versions
> >>     C:\Users\Joe\workspace>gem list watir
>
> >>     *** LOCAL GEMS ***
>
> >>     watir (1.9.2)
> >>     watir-webdriver (0.3.5, 0.3.2)
> >>     watirworks (0.1.4)
>
> >> Step 3.
> >> Now that we know that only the Watir (1.9.2) em is installed lets look
> >> at what Watir::IE::VERSION returns.
> >>     C:\Users\Joe\workspace>irb
> >>     irb(main):001:0> require 'watir'
> >>     => true
> >>     irb(main):002:0> Watir::IE::VERSION
> >>     (irb):3: warning: toplevel constant VERSION referenced by
> >> Watir::IE::VERSION
> >>     => "1.8.7"
>
> >> Hey that's the version of IE I have installed. Cool!
>
> >> So now lets get the version of Watir:
> >>     C:\Users\Joe\workspace>irb
> >>     irb(main):001:0> require 'watir'
> >>     => true
> >>    irb(main):003:0> Watir::VERSION
> >>    => "1.9.2"
>
> >> And of course that matches the version of the installed gem!
>
> >> Joe
>
> >> On Oct 10, 11:49 am, Babu  wrote:
>
> >> > i have already installed watir 1.6.5 in my gem list.
> >> > But when i see the watir version as "ruby -e 'require "watir"; puts
> >> > Watir::IE::VERSION'"
> >> > it is showing 1.4.1
> >> > how can i update to 1.6.5
> >> > since i am not getting all the IE tags in 1.4.1 which is present in
> >> > 1.6.5- Hide quoted text -
>
> >> - Show quoted text -
>
> > --
> > Before posting, please readhttp://watir.com/support. In short: search
>
> before you ask, be nice.
>
>
>
>
>
> > watir-general@googlegroups.com
> >http://groups.google.com/group/watir-general
> > watir-general+unsubscr...@googlegroups.com- Hide quoted text -
>
> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] Re: confused with versioning in Watir

2011-10-11 Thread Babu
hi joe,
i did exactly what you told.
=
C:\Suvo>
Watir::FileField
Watir::Button
Watir::SelectList
Watir::Link
Watir::Image
Watir::TableCell
Watir::TableRow
Watir::TableBody
Watir::TableBodies
Watir::Table
Watir::Label
Watir::Span
Watir::Div
Watir::P
Watir::SpanDivCommon
1.4.1

C:\Suvo>gem list watir

*** LOCAL GEMS ***

watir (2.0.2)
watir-webdriver (0.3.5, 0.3.4)

C:\Suvo>

still i have 1.4.1 on Watir::IE::VERSION
here is my more deatils:
==
C:\Suvo>ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [i386-mingw32]

C:\Suvo>gem -v
1.8.10

C:\Suvo>gem list

*** LOCAL GEMS ***

activesupport (3.1.1)
builder (3.0.0)
child-process-manager (0.0.3)
childprocess (0.2.2)
commonwatir (2.0.2, 1.6.5)
fattr (2.2.0)
ffi (1.0.9)
firewatir (1.9.4, 1.6.5)
flexmock (0.9.0)
hoe (2.12.3)
json_pure (1.6.1)
minitest (2.6.1)
multi_json (1.0.3)
rake (0.9.2)
rautomation (0.6.3)
rubygems-update (1.8.10, 1.8.9)
rubyzip (0.9.4)
s4t-utils (1.0.4)
selenium-webdriver (2.7.0)
session (3.1.0)
user-choices (1.1.6.1)
watir (2.0.2)
watir-webdriver (0.3.5, 0.3.4)
win32-api (1.4.8)
win32-process (0.6.5)
windows-api (0.4.0)
windows-pr (1.2.1)
xml-simple (1.1.0)





thanks


On Oct 11, 8:41 am, Joe DiMauro  wrote:
> Babu,
>
> I can see why you are confused as the value returned from the method
> Watir::IE::VERSION does not match the version of the gem.
>
> Watir::IE::VERSION gives you the version of the IE Browser.
> Watir::VERSION gives you the version of Watir.
>
> That said, here are some things to check:
> 1. What versions of the gem are installed? You can have multiple
> versions.
> 2. Cleanup any unneeded version
> 3. See what  is reported using Watir::IE:VERSION
> 4. See what is reported using Watir::VERSION
>
> Lets start with step 1.
> Use the gem list command to see what versions are installed. For
> example:
>     C:\Users\Joe\workspace>gem list watir
>
>     *** LOCAL GEMS ***
>
>     watir (1.9.2, 1.6.5)
>     watir-webdriver (0.3.5, 0.3.2)
>
> Notice that it reports on any gem that contaisn "watir" in its name.
>
> Step 2.
> Now use the gem cleanup command to remove the old version.
>     C:\Users\Joe\workspace>gem cleanup watir
>     Cleaning up installed gems...
>     Attempting to uninstall watir-1.6.5
>     Successfully uninstalled watir-1.6.5
>     Clean Up Complete
>
> Recheck the versions
>     C:\Users\Joe\workspace>gem list watir
>
>     *** LOCAL GEMS ***
>
>     watir (1.9.2)
>     watir-webdriver (0.3.5, 0.3.2)
>     watirworks (0.1.4)
>
> Step 3.
> Now that we know that only the Watir (1.9.2) em is installed lets look
> at what Watir::IE::VERSION returns.
>     C:\Users\Joe\workspace>irb
>     irb(main):001:0> require 'watir'
>     => true
>     irb(main):002:0> Watir::IE::VERSION
>     (irb):3: warning: toplevel constant VERSION referenced by
> Watir::IE::VERSION
>     => "1.8.7"
>
> Hey that's the version of IE I have installed. Cool!
>
> So now lets get the version of Watir:
>     C:\Users\Joe\workspace>irb
>     irb(main):001:0> require 'watir'
>     => true
>    irb(main):003:0> Watir::VERSION
>    => "1.9.2"
>
> And of course that matches the version of the installed gem!
>
> Joe
>
> On Oct 10, 11:49 am, Babu  wrote:
>
>
>
> > i have already installed watir 1.6.5 in my gem list.
> > But when i see the watir version as "ruby -e 'require "watir"; puts
> > Watir::IE::VERSION'"
> > it is showing 1.4.1
> > how can i update to 1.6.5
> > since i am not getting all the IE tags in 1.4.1 which is present in
> > 1.6.5- Hide quoted text -
>
> - Show quoted text -

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] Re: confused with versioning in Watir

2011-10-11 Thread Joe DiMauro
Babu,

I can see why you are confused as the value returned from the method
Watir::IE::VERSION does not match the version of the gem.

Watir::IE::VERSION gives you the version of the IE Browser.
Watir::VERSION gives you the version of Watir.

That said, here are some things to check:
1. What versions of the gem are installed? You can have multiple
versions.
2. Cleanup any unneeded version
3. See what  is reported using Watir::IE:VERSION
4. See what is reported using Watir::VERSION

Lets start with step 1.
Use the gem list command to see what versions are installed. For
example:
C:\Users\Joe\workspace>gem list watir

*** LOCAL GEMS ***

watir (1.9.2, 1.6.5)
watir-webdriver (0.3.5, 0.3.2)

Notice that it reports on any gem that contaisn "watir" in its name.

Step 2.
Now use the gem cleanup command to remove the old version.
C:\Users\Joe\workspace>gem cleanup watir
Cleaning up installed gems...
Attempting to uninstall watir-1.6.5
Successfully uninstalled watir-1.6.5
Clean Up Complete

Recheck the versions
C:\Users\Joe\workspace>gem list watir

*** LOCAL GEMS ***

watir (1.9.2)
watir-webdriver (0.3.5, 0.3.2)
watirworks (0.1.4)

Step 3.
Now that we know that only the Watir (1.9.2) em is installed lets look
at what Watir::IE::VERSION returns.
C:\Users\Joe\workspace>irb
irb(main):001:0> require 'watir'
=> true
irb(main):002:0> Watir::IE::VERSION
(irb):3: warning: toplevel constant VERSION referenced by
Watir::IE::VERSION
=> "1.8.7"

Hey that's the version of IE I have installed. Cool!

So now lets get the version of Watir:
C:\Users\Joe\workspace>irb
irb(main):001:0> require 'watir'
=> true
   irb(main):003:0> Watir::VERSION
   => "1.9.2"

And of course that matches the version of the installed gem!

Joe

On Oct 10, 11:49 am, Babu  wrote:
> i have already installed watir 1.6.5 in my gem list.
> But when i see the watir version as "ruby -e 'require "watir"; puts
> Watir::IE::VERSION'"
> it is showing 1.4.1
> how can i update to 1.6.5
> since i am not getting all the IE tags in 1.4.1 which is present in
> 1.6.5

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com