Article

dguest's picture
article
Reads:

3936

Score:
2
2
4
 
Comments:

0

Detecting Password Fields on a Javascript Web Page

Author Info

21 November 2007 - 2:51am
Submitted by: dguest

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.




User Comments

© 2013 Novell