Bank Of America Login Script

def login
@id = ‘USERNAME’
@pwd = ‘PASSWORD’
puts “logging in ..”
ie = Watir::IE::start(‘http://www.bankofamerica.com/index.cfm’)
ie.set_fast_speed
puts “entering online id”
ie.text_field(:id, ‘id’).set(@id)
window = ie.ie.Document.parentWindow
window.execScript(“doPassmarkSignIn()”)
puts “Enter passcode”
ie.wait
ie.text_field(:index ,1).set(@pwd)
window = ie.ie.Document.parentWindow
window.execScript(“verifyImageForm_0_submit()”)
puts “done.”
end

Advertisements

4 thoughts on “Bank Of America Login Script

  1. Bryce

    I do trust all the ideas you’ve offered on your post. They are very convincing and can definitely work. Still, the posts are too short for novices. Could you please prolong them a bit from next time? Thank you for the post.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s