
|
If you were logged in you would be able to see more operations.
|
|
|
Watir
Created: 15/Nov/06 11:41 PM
Updated: 03/Jan/08 10:29 PM
|
|
| Component/s: |
None
|
| Affects Version/s: |
1.5.0/1.5.1
|
| Fix Version/s: |
Future
|
|
|
Original Estimate:
|
3h
|
Remaining Estimate:
|
3h
|
Time Spent:
|
Unknown
|
|
|
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?
|
|
Description
|
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?
|
Show » |
|
We already have Watir::VERSION for the version of Watir itself.
It seems to me that the commands to get the OS and OS-language should not be attached to the Watir::IE object.
Think of it this way. These commands should be just as useful if you were using FireWatir, so they should be general, and not specific to IE. I would be happy to see these commands in a separate module/class and placed in the contrib directory.
Are there more commands that tie to the browser?