Detecting Password Fields on a Javascript Web Page
Novell Cool Solutions: Tip
By David Guest
Reader Rating 
|
Digg This -
Slashdot This
Posted: 21 Nov 2007 |
Problem
A Forum reader recently asked:
"I am have a problem with detecting a password field on a web page. The whole page is created in Javascript, with no web forms. I have tried using "#" and "password". I don't want to tab. Any ideas?"
And here's the response from David Guest ...
Solution
Try this:
Type $Password CurrentPassword ChangePassword ?NewPassword Type ?NewPassword GotoURL Javascript(validator())
It may not hit the button, but it should put the details in the correct fields. You will need to make sure that the "Password field must exist" attribute is set off so that the script will run.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com
