Share this page

# Example: lr.abort

In the following example, lr_error_message sends a message to the output window or log file if the login fails. lr.abort is then invoked to abort the script.

    status = myLogon("Logon",
              "URL=https://secure.computing.com//login.asp?user=(username)&session={ssid}");

    if (status == LR_FAIL) {
         lr.error_message("Error: "Unable to login to secure computing");
          lr.abort();
    }

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: