Novell Home

Filling Credentials without the Dialog IDs

Novell Cool Solutions: Tip
By David Guest

Digg This - Slashdot This

Posted: 8 Nov 2006
 

Problem

A Forum reader recently asked:

"I'm trying to SSO into a homemade application that has a user/password field and an OK button, as usual. It fails, and SSO can't push the user/password correctly; it looks like the dialog ID of the three fields are changing everytime the app starts. Is there another way to fill the credentials without the dialog ID, such as picking up the first text box available?"

And here's the reply from SecureLogin expert David Guest ...

Solution

This normally happens when an application has been developed without specifying the Ctrl-ID's inside the code.

We get around this by using the "keyboard" within NSL. Normally, the cursor is found in the first field, and there is a TAB between the fields. In that case, the following should work:

Type $Username
Type \T
Type $Password
Type \T
Type $OtherField
Type \T
Type \N

You may find that you don't need the last "Type \T" if the OK button is the default for the Enter key.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell