Description
The AfterUnsuccessfulLogin event is executed on the Login page if the user have failed authentication.
Syntax
public XVar AfterUnsuccessfulLogin(dynamic username, dynamic password, ref dynamic message, dynamic pageObject)
Arguments
username
a user-entered login name.
password
a user-entered password.
message
a place the message to be displayed into this variable.
pageObject
an object representing the current page. For more information, see RunnerPage class.
Applies to pages
Login.
Recommended predefined actions and sample events:
•Insert a record into another table
•Check to see if a specific record exists
•Display a message on the Web page
See also:
•Security API: checkUsernamePassword