Facing dynamic selector issue while migrating the flow into Edge browser

Dynamic Selector is working on IE browser but when we try to run on edge or chrome it’s giving selector issue

value which is passing in type into activity -

int_counter is my counter variable which is increasing count as per row in data row

Error thrown - Type Into ‘INPUT’: Could not find the UI element corresponding to this selector:
[1]
[2]

Search failed at selector tag:
[2]

The closest matches found are:
[75%]
[75%]
[75%]
[50%]
[50%]
[29%]

Thanks in Advance !

Hi,

Can you check what was the selector in Internet explorer and edge?
If possible can you post both of them here without the dynamic counter?

Do you know if there were any changes made by the application team in their app that could be causing this?

Type Into ‘INPUT’: Could not find the UI element corresponding to this selector:
[1]
[2]
Search failed at selector tag:
[2]

The closest matches found are:
[75%]
[75%]
[75%]
[50%]
[50%]
[29%]

Somehow the selector when i am pasting here it itself get erased but yes selector are same on IE and edge.

use the format button </> from the editor

IE Selector -

image

Edge Selector -
image

grafik
give a try on wildcarding it / regex selector

1 Like

I have tried regex selector in below manner even it’s not working

webctrl tag=‘INPUT’ type=‘text’ colName=‘( Recv'd Qty )Name’ matching:colName=‘regex’ tableRow=‘{{int_counter}}’

try
grafik
.*Rec.*Qty.*

<webctrl tag=‘INPUT’ type='text' colName='.*Rec.*Qty.*' matching:colName='regex'  tableRow='{{int_counter}}' />
1 Like

Sure will try and let u know… Thanks.

No it’s not working just tried -

Type Into ‘TD’: Could not find the UI element corresponding to this selector:
webctrl colName=‘.*Rec.Qty.’ matching:colName=‘regex’ tableRow=‘2’ tag=‘INPUT’ type=‘text’/>

The closest matches found are:
[75%]
[75%]
[75%] <webctrl colName=‘.*Rec.Qty.’ matching:colName=‘regex’ tableRow=‘5’ tag=‘INPUT’ type=‘text’

we would recommend following:

  • always let us know whar was done and how
    (we mentioned the </> format buttion usage for snippets)

also ensure that the webpage / dynamic selector variable values are matching the current state

About a regex you can also crosschekc in tools e.g regex101.com (our screenshot from above was taken from there)

So just explore more and let us know the result

in the selector , Replace the spaces along with the letter R with * and similarly y along with the space as * in the colname property and please try