Bank Of America Login Script

def login
@id = ‘USERNAME’
@pwd = ‘PASSWORD’
puts “logging in ..”
ie = Watir::IE::start(‘’)
puts “entering online id”
ie.text_field(:id, ‘id’).set(@id)
window =
puts “Enter passcode”
ie.text_field(:index ,1).set(@pwd)
window =
puts “done.”

4 thoughts on “Bank Of America Login Script”

  1. 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: Logo

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

Google photo

You are commenting using your Google 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 )

Connecting to %s