SAP B1 CV Automation: Wrong Value Clicked (Partial Match) and Scrolling Not Working in RDP

Problem Description:

I am working on CV Automation in SAP Business One (SAP B1), and the automation runs inside a Remote Desktop (RDP) environment. I am not able to use ui automation in that, For that I am using CV Click activities to identify and click on document numbers listed in a SAP B1 Excel-style table/grid.

My logic is to scroll down and click the first matching number from the list.

For example, I want to click on 143281, which is located below in the list (not visible on screen initially).

However, UiPath is clicking 143291, which is already visible on the screen, ignoring 143281 which is further below and requires scrolling.

I tried using:

CV Click

Scroll activities of scroll down as cv click property with 2

Anchor Base with CV Click

But still, the bot clicks the first visible number (143291) instead of scrolling to locate and click 143281.

Observations:

:small_blue_diamond: It seems UiPath is using partial matching (1432) instead of full text recognition (143281).

:small_blue_diamond: When using scroll in CV Click properties, no scrolling happens at all.

:small_blue_diamond: SAP B1 inside RDP does not support strong selectors — mostly image-based UI.

:small_blue_diamond: CV Click does not seem to scroll inside SAP B1 when screens are image-rendered via RDP.

I need help on:

  1. How to force UiPath to scroll in CV environment to search and click a number that is not visible on the screen?

  2. How to ensure exact text matching (143281), not partial match (143291) using CV activities?

  3. Alternative methods to reliably handle SAP B1 tables inside RDP environments when CV Click fails.

  4. What is the best approach to enable scrolling and ensure full-text matching when working with SAP B1 tables inside RDP?

  5. Any better design — like OCR extraction, keyboard navigation (Ctrl+F), or Click Text with scroll loop?

@Vikas_b_Sajjan

you can add an accuracy attribute in the cv selector and give it as 1.so that it matches exactly

cheers

1 Like

Hi @Anil_G
please find the screenshot below


I am unable to find the advanced options Could you please help me on this.

@Vikas_b_Sajjan

As specified in the link…

Add the accuracy=1 in the descriptor then you would see the accuracy option

cheers

The Accuracy needs a very specific format

“Anchor: Text ‘Doc Entry’ (1,2,3,4) Accuracy: 0.7”
The space between : and 0 is important and also the lack of parantheses

@Vikas_b_Sajjan we now have a better way: use the UIAutomation activities instead (25.10.20), so go for a Click activity instead of CV Click and you’ll have the Accuracy exposed in the Target properties:

Moreover, we have a new target-related feature called Occurence in case you have duplicates:

Hope this helps, let us know if it fixes the issue.