Novell is now a part of Micro Focus

Detecting Password Fields on a Javascript Web Page

Novell Cool Solutions: Tip
By David Guest

Digg This - Slashdot This

Posted: 21 Nov 2007


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 ...


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.

© Copyright Micro Focus or one of its affiliates