How can I SSO enable a windows application that changes Dialog IDs every time it launches?

  • 7940903
  • 19-Aug-2009
  • 24-Jan-2014

Archived Content: This information is no longer maintained and is provided 'as is' for your convenience.

Environment

SecureLogin
SecureLogin SSO
v6.0.110 and later
Microsoft Windows


Situation

Question

How can I SSO enable a windows application that changes Dialog IDs every time it launches so they are not consistent?

Resolution

Answer

SecureLogin detects logon and other prompts and messages and responds accordingly. For example, if the logon prompt is detected, SecureLogin enters the stored Username into the Dialog ID of the Username field and the stored Password into the Dialog ID of the Password field.

Dialog IDs are automatically generated using the wizards and can be determined using the Window Finder. In the following example, the Username field must always be ID #3 and the Password field must always be #4 or logon will fail.

Type $Username #3 Type $Password #4 Click #1 

If the Dialog IDs are changing everytime the backend application launches, use one of the following methods to enter the credentials;

  • Verify whether a combination of key strokes will highlight the Username field before entering the Username. For example, if Alt+U highlights the Username field and Alt+P highlights the password field, implement the following;
    Type Alt+U Type $Username Type Alt+P Type $Password
  • Verify where the cursor is flashing in the logon prompt and determine whether you can simply type and use the tab key (T)
    Type $Username Type T Type $Password Click #1
  • Verify whether you can pass the credentials into the window using the –Raw command
    Type $Username -Raw Type T -Raw Type $Password -Raw
  • If SecureLogin still fails to enter credentials, you may have another issue such as the wrong .exe name, an invalid Dialog/EndDialog etc.

Contact support@actividentity.com for assistance.