Skip to main content
Question

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


Forum|alt.badge.img+4

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

2 replies

Forum|alt.badge.img+8
  • Automation Anywhere Team
  • 136 replies
  • October 11, 2023

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!


Forum|alt.badge.img+6
  • Navigator | Tier 3
  • 75 replies
  • October 11, 2023
nidhi 9605 wrote:

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.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings