Sha256: 13e3469df5b09969e28d0ef16ba1c64ce2289301c7699b7e5d587c5af19d2010

Contents?: true

Size: 915 Bytes

Versions: 22

Compression:

Stored size: 915 Bytes

Contents

module Login1a

  def run

    browser = open_browser

    go_to_url(browser, 'www.yahoo.com')
    sleep(5)
    click(browser, :link, :text, 'Sign In')
    sleep(5)
    set_textfield(browser, :id, 'username', 'awetesta@yahoo.com')
    set_textfield(browser, :id, 'passwd', 'awetest001')
    click(browser, :button, :text, 'Sign In')
    sleep(8)
    validate_text(browser, 'HI, A')
    sleep(8)
    click(browser, :link, :text, 'Sign Out')

    sleep(8)

    go_to_url(browser, 'www.yahoo.com')
    sleep(5)
    click(browser, :link, :text, 'Sign In')
    sleep(5)
    set_textfield(browser, :id, 'username', 'awetestt3@yahoo.com')
    set_textfield(browser, :id, 'passwd', 'awetest001')
    click(browser, :button, :text, 'Sign In')
    sleep(8)
    validate_text(browser, 'HI, T-THREE')
    sleep(8)
    click(browser, :link, :text, 'Sign Out')

    browser.close

  end

end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
awetestlib-1.2.4-x86-mingw32 test/login_1a.rb
awetestlib-0.1.30 test/login_1a.rb
awetestlib-0.1.30-x86-mingw32 test/login_1a.rb
awetestlib-0.1.30pre3 test/login_1a.rb
awetestlib-0.1.30pre3-x86-mingw32 test/login_1a.rb
awetestlib-0.1.30pre2 test/login_1a.rb
awetestlib-0.1.30pre2-x86-mingw32 test/login_1a.rb
awetestlib-0.1.30pre1-x86-mingw32 test/login_1a.rb
awetestlib-0.1.30pre1 test/login_1a.rb
awetestlib-0.1.29 test/login_1a.rb
awetestlib-0.1.29-x86-mingw32 test/login_1a.rb
awetestlib-0.1.29pre4 test/login_1a.rb
awetestlib-0.1.29pre4-x86-mingw32 test/login_1a.rb
awetestlib-0.1.29pre3-x86-mingw32 test/login_1a.rb
awetestlib-0.1.29pre3 test/login_1a.rb
awetestlib-0.1.29pre1 test/login_1a.rb
awetestlib-0.1.28-x86-mingw32 test/login_1a.rb
awetestlib-0.1.27-x86-mingw32 test/login_1a.rb
awetestlib-0.1.26-x86-mingw32 test/login_1a.rb
awetestlib-0.1.25-x86-mingw32 test/login_1a.rb