Sha256: a13ab1032e23ee29bed804935257dbf7894b0ff8d794c98a17e16b3e339ec022
Contents?: true
Size: 671 Bytes
Versions: 3
Compression:
Stored size: 671 Bytes
Contents
# feature tests for minimizing and maximizing IE windows # revision: $Revision: 958 $ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 == __FILE__ require 'unittests/setup' class TC_MinMax< Test::Unit::TestCase include Watir def setup $ie.goto($htmlRoot + 'pass.html') end def teardown $ie.restore end def test_minimimum $ie.minimize end def test_maximum $ie.maximize end def test_front assert $ie.front? ie2 = IE.start($htmlRoot + 'blankpage.html') assert ie2.front? assert_false $ie.front? $ie.bring_to_front assert $ie.front? ie2.close end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
watir-1.5.4 | unittests/minmax_test.rb |
watir-1.5.2 | unittests/minmax_test.rb |
watir-1.5.3 | unittests/minmax_test.rb |