Sha256: 523c2573e3aeb295abd821e378b4aa50aa2acb5ce42846040b4032b4b39d795c

Contents?: true

Size: 493 Bytes

Versions: 28

Compression:

Stored size: 493 Bytes

Contents

module GoogleSearch2

  def run
    mark_testlevel("Awetestlib example: Google Search 2", 9)
    browser = open_browser
    go_to_url(browser, 'www.google.com')
    sleep_for(3)
    run_test(browser)
  end

  def run_test(browser)
    mark_testlevel("Search for 3qilabs in News", 8)
    click_text(browser, 'News')
    set_textfield_by_id(browser, 'gbqfq', '3qilabs')
    validate_text(browser, '3qilabs', '*** gs2 001 ***')
    validate_text(browser, 'Stories', '*** gs2 002 ***')
  end

end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
awetestlib-0.1.28 test/google_search2.rb
awetestlib-0.1.27 test/google_search2.rb
awetestlib-0.1.26 test/google_search2.rb
awetestlib-0.1.25 test/google_search2.rb
awetestlib-0.1.24 test/google_search2.rb
awetestlib-0.1.23 test/google_search2.rb
awetestlib-0.1.22 test/google_search2.rb
awetestlib-0.1.20 test/google_search2.rb
awetestlib-0.1.19 test/google_search2.rb
awetestlib-0.1.17 test/google_search2.rb
awetestlib-0.1.16 test/google_search2.rb
awetestlib-0.1.15 test/google_search2.rb
awetestlib-0.1.14 test/google_search2.rb
awetestlib-0.1.13 test/google_search2.rb
awetestlib-0.1.12 test/google_search2.rb
awetestlib-0.1.11 test/google_search2.rb
awetestlib-0.1.10 test/google_search2.rb
awetestlib-0.1.9 test/google_search2.rb
awetestlib-0.1.8 test/google_search2.rb
awetestlib-0.1.7 test/google_search2.rb