Environment
Novell SecureLogin
NSL6.0
NSL6.1
Windows Application
NSL6.0
NSL6.1
Windows Application
Situation
Unable to script for failed login
SecureLogin does not recognize failed login error message
Error message is written on the current screen; no new window appears with the error.
Windows finder sees the message but ReadText command does not
SecureLogin does not recognize failed login error message
Error message is written on the current screen; no new window appears with the error.
Windows finder sees the message but ReadText command does not
Resolution
Create a dialog statement where the title matches the error message and
include the windows event that produced the message in the dialog statement. Use spy++ to detect the windows event.
Example:
Dialog
Title "The user name and password combination you have entered is incorrect. Please try again."
Class "Static"
Event "WM_SETTEXT"
Parent
Class "#32770"
Ctrl #1005
Ctrl #1006
EndParent
EndDialog
include the windows event that produced the message in the dialog statement. Use spy++ to detect the windows event.
Example:
Dialog
Title "The user name and password combination you have entered is incorrect. Please try again."
Class "Static"
Event "WM_SETTEXT"
Parent
Class "#32770"
Ctrl #1005
Ctrl #1006
EndParent
EndDialog