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
what language is this written in?
Ruby
Remarkable! Its truly amazing paragraph, I have got much clear idea
on the topic of from this post.
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.
For most recent information you have to go
to see world-wide-web and on world-wide-web I found this
website as a best site for most up-to-date updates.
May I just say what a comfort to uncover an individual who
actually understands what they are talking about on the web.
You definitely know how to bring a problem to light and make it
important. More people need to look at this and understand this side of
your story. I was surprised that you’re not more popular since you
definitely possess the gift.
I pay a visit each day a few web pages and information sites to read articles, but this weblog presents feature based writing.
Hello to every body, it’s my first pay a quick visit of this website; this blog contains
awesome and in fact good stuff in favor of visitors.