Babu, What do you now get from Watir::VERSION
Joe On Oct 11, 1:15 pm, Babu <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> > > > 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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. > > > > > > [email protected] > > > > >http://groups.google.com/group/watir-general > > > > > [email protected] Hide quoted text - > > > > > - Show quoted text -- 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. [email protected] http://groups.google.com/group/watir-general [email protected]
