How to be able to click one digit represented as image in Web-Page?
Please find an example below where the positions of digits from 0 to 9 is changing each time.
Inspection with UIExplorer gives following selector for number button:
html htmlwindowname=‘15643351526200.2460097307028955’ title=‘Accéder à mes comptes en ligne | BNP Paribas’
webctrl idx=‘6’ parentid=‘secret-nbr-keyboard’ tag=‘A’
You can use idx info for the differen numbers
idx 1 = Number 2
idx 2 = Number 9
next row: idx 6 = Number 0
So with the help of a dictionary you can define a lookup table
e.g Key is number, Value is index
With this the selector can be constructed within an assign activity and be used for the click activity
Hi ppr,
seems this will help in my case, but please can you explain more and how you’re able to get UIExplorer output without sharing the XAML file ? Thanks in advance
@hsendel
I didn’t get your question in detail so I just summarize my analysis work for you:
I opened the Link that you have provided in your first post
I opened UiExplorer in Standalone mode: UiPath Studio > Design > UiExplorer
With the standard functionality “Indicate Element” pointing to one digit button and analyzed the selector result
From there I copied to the post
However lets focus on the solution and get your workflow working. I suggest you to work with selectors and Click activity as it has potential to be more reliable and independend to image recognition.
Thanks a lot AkshaySandhu, I have already solved the issue using Computer Vision as proposed by Palaniyappan but still your proposal is very interesting, I will check that too. Thx
Hey @hsendel kindly check the below xaml… Main1.xaml (46.7 KB)
In previous xaml I forgot to remove the selector and clipping region…
This one is working fine…