Sha256: 662b9e2e0cc34f4108a3a72eb0e02289b975a2ba6bac73fe2a3a79564c310287
Contents?: true
Size: 695 Bytes
Versions: 3
Compression:
Stored size: 695 Bytes
Contents
# feature tests for minimizing and maximizing IE windows # revision: $Revision$ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') unless $SETUP_LOADED require 'unittests/setup' class TC_MinMax< Test::Unit::TestCase tags :must_be_visible def setup goto_page 'pass.html' end def teardown browser.restore end def test_minimimum browser.minimize end def test_maximum browser.maximize end def test_front assert browser.front? ie2 = Watir::IE.start($htmlRoot + 'blankpage.html') assert ie2.front? assert ! browser.front? browser.bring_to_front assert browser.front? ie2.close end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
watir-1.6.6 | unittests/minmax_test.rb |
watir-1.6.6.rc2 | unittests/minmax_test.rb |
watir-1.6.6.rc1 | unittests/minmax_test.rb |