Article

dguest's picture
article
Reads:

2928

Score:
2
2
1
 
Comments:

0

Filling Credentials without the Dialog IDs

(View Disclaimer)

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.


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell