Sha256: 1037382d74a1169a5c928a5c5903da3e6b647ffe3223f6a8891865d64484b899
Contents?: true
Size: 755 Bytes
Versions: 3
Compression:
Stored size: 755 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
watir-1.6.6 | unittests/windows/frame_links_test.rb |
watir-1.6.6.rc2 | unittests/windows/frame_links_test.rb |
watir-1.6.6.rc1 | unittests/windows/frame_links_test.rb |