Detecting Password Fields on a Javascript Web Page



By: dguest

November 21, 2007 2:51 am

Reads: 181

Comments:0

Rating:0

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.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags: ,
Categories: Uncategorized

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Comment