[
http://jira.openqa.org/browse/WTR-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19655#action_19655
]
Jarmo Pertman commented on WTR-116:
-----------------------------------
I'd suggest creating OS class inside of Watir module for OS specific methods.
{noformat}
module Watir
class OS
def self.version
# something
end
end
end
{noformat}
> Add IE.version method to report which version of IE is installed & being used
> (e.g. IE7)
> ----------------------------------------------------------------------------------------
>
> Key: WTR-116
> URL: http://jira.openqa.org/browse/WTR-116
> Project: Watir
> Issue Type: New Feature
> Affects Versions: 1.5.0/1.5.1
> Reporter: Paul Rogers
> Assignee: Paul Rogers
> Priority: Major
> Fix For: Future
>
>
> I think, now that we have vista, ie7 etc, that the following would be
> useful:
> ie.browser_version => "IE7"
> ie.os => "XP"
> ie.os_language =>"en-us"
> etc
> as Im sure, many people like me now either need to test multiple browsers/os
> or at least need to know what it was tested on.
> I have most of the code, I just need to know if there are any comments on
> method names etc?
> -------- Charlie replied with
> I'm not currently testing with IE 7 but most likely will be soon,
> particularly since the upgrade is part of the system updates which
> means the user base will expand quickly. Can you add a JIRA task for
> this?
>
> While the browser version makes sense in context of the ie object,
> the os version and language don't. They'd make more sense to me in the
> context of the Watir module, possibly in their own class, Environment?
> Other thoughts?
>
--
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
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development