
| Key: |
WTR-179
|
| Type: |
Bug
|
| Status: |
Open
|
| Priority: |
Minor
|
| Assignee: |
Unassigned
|
| Reporter: |
Jeff Fry
|
| Votes: |
0
|
| Watchers: |
1
|
|
If you were logged in you would be able to see more operations.
|
|
|
Watir
Created: 12/Oct/07 07:52 PM
Updated: 14/Oct/07 11:03 AM
|
|
| Component/s: |
None
|
| Affects Version/s: |
None
|
| Fix Version/s: |
Future
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
|
If you create a script containing both $IE_HIDE and $ie.minimize, $ie.minimize will go ahead and minimize whatever window has focus (which might happen to be an IE window, but is just as likely to be some other application).
Expected:
$ie.minimize should never minimize anything other than IE.
Sample script to repro the bug:
require 'test/unit'
require 'watir'
class TC_OnlyMinimizeIE < Test::Unit::TestCase
def test_only_minimize_ie
$HIDE_IE = true
$browser = Watir::IE.new
5.times do
$browser.minimize # this will currently minimize five items from your desktop.
end #do
end #def
end #class
|
|
Description
|
If you create a script containing both $IE_HIDE and $ie.minimize, $ie.minimize will go ahead and minimize whatever window has focus (which might happen to be an IE window, but is just as likely to be some other application).
Expected:
$ie.minimize should never minimize anything other than IE.
Sample script to repro the bug:
require 'test/unit'
require 'watir'
class TC_OnlyMinimizeIE < Test::Unit::TestCase
def test_only_minimize_ie
$HIDE_IE = true
$browser = Watir::IE.new
5.times do
$browser.minimize # this will currently minimize five items from your desktop.
end #do
end #def
end #class |
Show » |
|