DX Unified Infrastructure Management

 View Only
  • 1.  e2e_appmon profile return codes

    Posted Apr 14, 2015 05:08 AM

    Running a profile (rob script, recorded with NimRecorder) within e2e_appmon that opens a website with the Mozilla browser, logs in, switches to a specific page, signs out, and closes the browser, seems to return a code of -3. Can you please tell me where the return codes are documented, or what that means. Thanks.



  • 2.  Re: e2e_appmon profile return codes

    Broadcom Employee
    Posted Apr 14, 2015 09:31 AM

    There is the "Need documentation for e2e return codes" knowledge article that provides at least a starting point for you.  The link to this article is:  https://na4.salesforce.com/kAH60000000007g?srPos=5&srKp=kaH

    Here is the content of that article:

     

     

    You should be able to find all codes in the Help, but check out the additional links and example below:

    http://www.wintask.com/onlinehelp/Language/StartBrowser.htm

    Return value

    Ret, numeric return code. When the browser has been started correctly and the page could be loaded within 30 seconds (this default value can be changed using #ActionTimeout), the function returns 0. Otherwise use this return code for Error Handling. The return code is -3 if <browser_type> is incorrect.

    ***The return code is -2146697211 if an HTTP error prevents the specified page to load.***

    http://www.wintask.com/onlinehelp/Scheduler/Sched_error_codes.htm

    http://www.wintask.com/onlinehelp/Language/Windows_management_functions_Error_codes.htm

    Error codes for Web functions

    The table below lists the possible error codes for the NimRecorder Web functions, for the errors stopping script execution (unless #IgnoreErrors=1).
     

    -2146697211An HTTP error prevents the specified page to load
    -404,-405Usual HTTP error codes
    -14Invalid character for WriteHTML - use instead WriteHTMLPaste function
    -12Download timeout
    -11Internal error
    -8HTML Element not found
    -7Index too big
    -5Page has not finished to load within the timeout
    -4Browser lost
    -3Bad HTML descriptor
    -3Browser not recognized (Only for StartBrowser function when its first parameter is different from "IE")
    -2Page not found
    -1Impossible to capture or invalid range (Capture Web functions)
    -1No browser in use (no UsePage or StartBrowser before)
    -1Extraction cannot be done (ExtractLink function)


    Error codes for File management functions
    The table below lists the possible error codes for the NimRecorder File management functions, for the errors stopping script execution (unless #IgnoreErrors=1).
     

    -2Index too big when running NimRecorder Excel functions (the array is smaller than the number of cells)
    -1ColeDispatch Exception : Error returned by Excel when an invalid operation is attempted by NimRecorder Excel functions
    1File empty
    2File not found
    3Path not found
    4Too many files open
    5Path empty
    6Directory already exists
    7File already exists
    8Not enough memory
    9File or path not found (TaskExec could not find if it's the file or the path which is not found)
    10Incorrect disk
    11Error in current directory
    12Write protected
    13Unable to copy files
    14Unable to delete files
    15Unable to name files
    16Unable to move directory
    17Unable to create directory
    18Unable to delete directory
    19Unable to change directory
    20Unable to write (or save)
    21Directory full
    22Bad sector
    23Error IO
    24Violation error
    25Disk full
    26Unable to create file
    27Unable to open file
    28Unable to readi file
    29Invalid file
    30Unable to close file
    31Invalid length
    32Unable to change attributes
    90Internal XML COM error
    99Invalid parameters
    110Invalid XML path
    111Invalid XML attribute or XML attribute not found
    112Index too big (return code only for the XML functions)


    Error codes for Flow control functions
    The table below lists the possible error codes for the NimRecorder Flow control functions, for the errors stopping script execution (unless #IgnoreErrors=1). Only the Shell or the Run function return such error codes.
     

    34DDE failure
    35No association
    36Access denied
    37DLL not found
    38Sharing violation
    39Empty Shell name
    40Empty Run name


    Error codes for FTP functions
    The table below lists the possible error codes for the NimRecorder FTP functions, for the errors stopping script execution (unless #IgnoreErrors=1).
     

    9File or path does not exist
    80The file already exists
    550Requested action not taken. File unavailable (e.g., file not found, no access)
    553Requested action not taken. File name not allowed
    12001No more handles could be generated at this time
    12002The request has timed out
    12003An extended error was returned from the server
    12004An internal error has occurred
    12005The URL is invalid
    12006The URL scheme could not be recognized or is not supported
    12007The server name could not be resolved
    12008The requested protocol could not be located
    12012Internet function support is being shut down or unloaded
    12013The request to connect and log on to an FTP server could not be completed because the supplied user name is incorrect
    12014The request to connect and log on to an FTP server could not be completed because the supplied password is incorrect
    12015The request to connect to and log on to an FTP server failed
    12016The requested operation is invalid
    12017The operation was canceled
    12020The request cannot be made via a proxy
    12021A required registry value could not be located
    12022A required registry value was located but is an incorrect type or has an invalid value
    12023Direct network access cannot be made at this time
    12026The required operation could not be completed because one or more requests are pending
    12028The requested item could not be located
    12029The attempt to connect to the server failed
    12030The connection with the server has been terminated
    12037SSL certificate date that was received from the server is bad. The certificate is expired
    12038SSL certificate common name (host name field) is incorrect
    12039The application is moving from a non-SSL to an SSL connection because of a redirect
    12040The application is moving from an SSL to an non-SSL connection because of a redirect
    12110The requested operation cannot be made on the FTP session handle because an operation is already in progress
    12111The FTP operation was not completed because the session was aborted
    12156The redirection failed because either the scheme changed (for example, HTTP to FTP) or all attempts made to redirect failed (default is five attempts)


    Error codes for ODBC functions
    The table below lists the possible error codes for the NimRecorder ODBC functions, for the errors stopping script execution (unless #IgnoreErrors=1).
     

    -5Close the record set first
    -4Connection cancelled
    -3No numeric field
    -2No connection available
    -1No record set


     

    Error codes for Synchronization functions

    There are no error codes for Synchronization functions. At execution, if an error prevents even the PauseFalse block to be executed, an error message is displayed and execution stops. You have to correct the code and then replay.
     

    Error codes for User dialog functions

    There are no error codes for User dialog functions. At execution, the function returns an empty string in case of an error.
    Error codes for Web functions
    The table below lists the possible error codes for the NimRecorder Web functions, for the errors stopping script execution (unless #IgnoreErrors=1).
     

    -2146697211An HTTP error prevents the specified page to load
    -404,-405Usual HTTP error codes
    -14Invalid character for WriteHTML - use instead WriteHTMLPaste function
    -12Download timeout
    -11Internal error
    -8HTML Element not found
    -7Index too big
    -5Page has not finished to load within the timeout
    -4Browser lost
    -3Bad HTML descriptor
    -3Browser not recognized (Only for StartBrowser function when its first parameter is different from "IE")
    -2Page not found
    -1Impossible to capture or invalid range (Capture Web functions)
    -1No browser in use (no UsePage or StartBrowser before)
    -1Extraction cannot be done (ExtractLink function)


    Error codes for Windows management functions
    The table below lists the possible error codes for the NimRecorder Windows management functions, for the errors stopping script execution (unless #IgnoreErrors=1).
     

    41Window not found (or window handle not found)
    42Window name empty
    43No window specified
    44Impossible to move the window
    45Impossible to resize the window
    46Focus change error
    48Impossible to find Edit box
    49Impossible to find Combobox
    50Impossible to attach to Combobox
    51Impossible to find Listbox control
    52Impossible to find Combobox control
    53Impossible to find Listview control
    54Impossible to find Treeview control
    55Impossible to find button
    56Impossible to find checkbox
    57Impossible to find radiobutton
    58Impossible to find Tab
    59Invalid scrollbar
    60Impossible to create the msgframe
    61New coordinates for window are out of the screen
    62Impossible to read window size
    64Out of screen
    65Item not found
    75Empty menu name
    76Menu not found
    77Menu attach error
    78Menu item not found
    90Internal error
    95Invalid instance number
    98Error in key list inside instruction SendKeys
    99Invalid parameter
    105Invalid UI command (the User Interface is not available when running a non-interactive task via Scheduler)
    106Invalid toolbar
    108Invalid Regular Expression


  • 3.  Re: e2e_appmon profile return codes

    Posted Apr 15, 2015 10:13 AM

    Thank you so much for this help.

     

    Regards



  • 4.  Re: e2e_appmon profile return codes

    Broadcom Employee
    Posted Jan 14, 2016 09:39 AM

    Note that this link is no longer valid:

    http://www.wintask.com/onlinehelp/Language/StartBrowser.htm

     

    Go to http://www.wintask.com/onlinehelp/

     

    ...and search on error codes, error codes for web functions, etc.

     

    Steve



  • 5.  Re: e2e_appmon profile return codes

    Posted Jul 05, 2016 08:32 PM

    http://search.ca.com/assets/SiteAssets/TEC000003265_External/NMS%20error%20codes-1.pdf

    E2E ERROR/RETURN CODES (e2e_appmon_dev) Error codes issued by the probe itself (not related to a aspecific function):

     

    -3

     

    A -3 return code is a general failure code, so it is difficult to say anything specific about the cause of this. One possibility is the access rights for the user setup to run the script in the e2e_appmon probe. Another is that the probe is looking in the wrong directory for either the task executor binary or the script file. Note that with proper error handling it is possible to see which line of the script is failing when it is run by the probe.

     

    -4

     

    A -4 error code means that the script was killed before execution completed. In this case you would also get an alarm telling you that the script did not complete on time and had to be killed.

     

    -5

     

    A return code of -5 means "Page has not finished to load within the timeout” 1. Verify that there's currently only one user logged on 2. Verify that there's only one e2e_starter.exe running When e2e_appmon starts, it sets a registry key for all users which makes e2e_starter.exe run on every login. e2e_starter should close when it detects that there's already an e2e_starter running,