Created
June 21, 2012 20:49
-
-
Save chauffi/2968435 to your computer and use it in GitHub Desktop.
Login script for RadPrimer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'watir-webdriver' | |
browser = Watir::Browser.new | |
browser.goto('http://test.radprimer.com') | |
browser.text_field(:id, 'login_username').set('mobrian@amirsys.com') | |
browser.text_field(:id, 'login_password').set('password1') | |
browser.button(:id, 'login').click |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment