Skip to main content
Navigator | Tier 3
April 17, 2023
Question

Image Recognition command is not working in Unattended mode in V11.3

  • April 17, 2023
  • 17 replies
  • 847 views

Hi All!

My bot is capturing the specific action on the website. I used image recognition command multiple times to check if specific image present on specific page which works fine when run on local machine or on runner machine in attended mode. When I try to schedule it on runner m/c it is throwing error at almost every image recognition command as mentioned below. Each time it is giving different error.

  1. Image not found!
  2. Error Message: Image not found!
     
    Kindly edit the Image Recognition command with the following steps:
    - Use the 'Repeat if image not found' option.
    - Use the 'Quick Test' option to check if the image is indeed present.

Please help!!!

17 replies

Navigator | Tier 3
April 20, 2023

Hi All!

My bot is capturing the specific action on the website. I used image recognition command multiple times to check if specific image present on specific page which works fine when run on local machine or on runner machine in attended mode. When I try to schedule it on runner m/c it is throwing error at almost every image recognition command as mentioned below. Each time it is giving different error.

  1. Image not found!
  2. Error Message: Image not found!
     
    Kindly edit the Image Recognition command with the following steps:
    - Use the 'Repeat if image not found' option.
    - Use the 'Quick Test' option to check if the image is indeed present.

Please help!!!

Also when bot runs in attended mode blank error screen getting captured in error handle.

I have checked for Scaling and resolution of both the machines and they are same.

Anybody has any idea!!

Navigator | Tier 3
April 20, 2023

@Pallavi Desai  - Pl check the screen resolution

rbkadiyam
Premier Pathfinder | Tier 7
Premier Pathfinder | Tier 7
April 20, 2023

@Pallavi Desai : check if screen resolution and scaling percentage is same 

Ramesh B Kadiyam
Navigator | Tier 3
April 21, 2023

@Pallavi Desai  - Pl check the screen resolution

Hi @Shyam ,

Thank you for reply!!!

I checked the resolution as well as scaling and it same on my local m/c as well as on bot runner

 

Navigator | Tier 3
April 21, 2023

@Pallavi Desai : check if screen resolution and scaling percentage is same 

Hi @rbkadiyam 

Thank you for reply!!!

I checked the resolution as well as scaling and it is same on my local m/c as well as on bot runner

Navigator | Tier 3
April 24, 2023

Make Sure  this before you run the bot

  1.  Screen Resolution should be 100%.
  2. Your Laptop should be of Full HD Resolution (1920*1080)
  3. Bot Runner Device should not be opened with the laptop that has not Full HD Resolution. 
Navigator | Tier 3
April 24, 2023

Make Sure  this before you run the bot

  1.  Screen Resolution should be 100%.
  2. Your Laptop should be of Full HD Resolution (1920*1080)
  3. Bot Runner Device should not be opened with the laptop that has not Full HD Resolution. 

Hi @karthik CN.

Thanks for the reply!!

I have following resolution on my laptop which is the maximum one

Secondly the bot runner m/c screen resolution is below:

 

Navigator | Tier 3
April 24, 2023

may i know what is the max screen resolution of bot runner . is your bot runner is RDC i mean Remote Desktop 

Raul Jaimes
Navigator | Tier 3
April 24, 2023

@Pallavi Desai 

Are you using RDP or Autologin approach?

 

 

Try the following:

  1. Recapture the image.
  2. Keep redefining the parameters for Tolerance, Comparison and Percentage Match till the Quick Test is a success. Hence, you can do any or all of the following:
    a. Reduce the Match Percentage value.
    b. Increase the Tolerance value
    c. Select a different Comparison mode.

Also, check the following KB

https://apeople.automationanywhere.com/s/article/Commands-like-Object-Cloning-Image-Recognition-Keystrokes-Etc-Do-Not-Work-In-Unattended-Mode-When-Autologin-Is-Enabled-And-Error-Out-With-Black-Screenshot-On-Failure

HTH

Regards

Navigator | Tier 3
April 25, 2023

 Hi @Pallavi Desai 

 

Run the below screen resolution script in bot runner RDC and check the correct screen resolution.

 

dim vid
dim vStatus

for each vid in getobject("winmgmts:").instancesof("Win32_VideoController")
vStatus = "Resolution: " & vid.CurrentHorizontalResolution & "x" & vid.currentVerticalResolution
next
'Wscript.Echo vStatus
Wscript.Stdout.Writeline vStatus
WScript.Quit