Sha256: e5c93d5983517b37dfcd7789475f8a390325f2be9458c57775ea834a79b5e514
Contents?: true
Size: 749 Bytes
Versions: 2
Compression:
Stored size: 749 Bytes
Contents
# tests of click_no_wait for links in frames $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', '..') unless $SETUP_LOADED require 'unittests/setup' class TC_Frame_Links < Test::Unit::TestCase def setup goto_page "frame_links.html" end def test_click_in_a_frame browser.frame(:name, 'linkFrame').link(:text, 'test1').click assert(browser.frame(:name, 'linkFrame').text.include?('Links2-Pass')) end def test_click_no_wait_in_a_frame browser.frame(:name, 'linkFrame').link(:text, 'test1').click_no_wait Watir::Wait.until(10){browser.frame(:name, 'linkFrame').text.include?('Links2-Pass')} assert(browser.frame(:name, 'linkFrame').text.include?('Links2-Pass')) end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
watir-classic-3.0.0 | unittests/windows/frame_links_test.rb |
watir-3.0.0.rc3 | unittests/windows/frame_links_test.rb |