Question

SAP bot failing in unattended mode and running properly in attended mode on same runner machine

  • 10 October 2023
  • 2 replies
  • 77 views

Badge +4

SAP bot failing in unattended mode and running properly in attended mode on same runner machine


2 replies

Userlevel 3
Badge +8

Hi @nidhi 9605 

Please upload the Bot_Launcher logs for further analysis. 

Log file locations:
The Bot Agent log files are available at C:\ProgramData\AutomationAnywhere\BotRunner\Logs on your device. The following files are available at this location:

Bot_Launcher
Captures information about the execution of a bot such as the operations performed, events triggered, and errors encountered by the bot.

Node_Manager
Captures information about when a bot is run from the Control Room and communication details between a Bot Runner and the Control Room.

 

Thanks!

Userlevel 1
Badge +6

SAP bot failing in unattended mode and running properly in attended mode on same runner machine

Hello Nidhi,

Once your BOT Starts at very 1st line run the below VBscript (save this script as .vbs file) and get the output variable to check if the resolution is correct or not. Also can you explain a bit which step or command it is failing?

ScreenRes = funcScreenResolution() 
 
Function funcScreenResolution() 
    Set objIE = CreateObject("InternetExplorer.Application") 
    objIE.Navigate("about:blank") 
    Do Until objIE.readyState = 4: Loop 
        width = objIE.document.ParentWindow.screen.width 
        height = objIE.document.ParentWindow.screen.height 
    objIE.Quit 
    funcScreenResolution = array(width,height) 
End Function 
 
WScript.StdOut.WriteLine ScreenRes(0) & " x " & ScreenRes(1)

Alteast from this script you will come to know what is the resolution in unattended mode then you can compare resolution with Attended mode

Thanks,

Asif.

 

Reply