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