Sha256: e9eb6f9e1442f6963d97bd6cdc356b4cc94934bd8e20965412f6b5db418ab05d
Contents?: true
Size: 741 Bytes
Versions: 1
Compression:
Stored size: 741 Bytes
Contents
# feature tests for minimizing and maximizing IE windows # revision: $Revision: 1.1.2.1 $ $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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
watir-1.4.1 | unittests/minmax_test.rb |