Example: lr.vuser_status_message
The following example issues a Vuser status message if the login failed.
public int login(string username, string password)
{
//emulate failed login
return lr.FAIL;
}
int status = login("username","password");
if (status == lr.FAIL) {
string strOutputMsg="Error: Unable to login to server";
lr.vuser_status_message(strOutputMsg);
}