[ http://jira.openqa.org/browse/WTR-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19920#action_19920 ]
Ethan commented on WTR-458: --------------------------- I think that programatically checking the version can be useful, in general (not specifically to watir, but certainly applies). I've worked around bugs in certain versions of libraries by checking version, for example. It's possible to get the installed version via rubygems, but not really trivial. I think having a version constant is useful. > Watir version 1.6.6 doesn't show correct version number > ------------------------------------------------------- > > Key: WTR-458 > URL: http://jira.openqa.org/browse/WTR-458 > Project: Watir > Issue Type: Bug > Components: Gem installer > Affects Versions: 1.6.6 > Environment: Windows XP, IE8 > Reporter: Ning Cao > Priority: Major > > I'm running Watir on Windows XP and just updated to version 1.6.6, after the > installation I wanted to check the version by using > ruby -e 'require "watir"; puts Watir::IE::VERSION' > [expected]Should show version number 1.6.6 > [actual]The output was: > -e:1: warning: toplevel constant VERSION referenced by Watir::IE::VERSION > 1.8.6 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.openqa.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ Wtr-development mailing list Wtr-development@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development