Need help on making reliable selector for every time

Hi @shreyash_shirbhate

Try using indicate anchor from the uiexplorer and indicate the customer and getting selector try wilcarding the aaname attribute!

Regards

Hi @shreyash_shirbhate

Because the customer wont change indicate that as anchor element!

Regards

Thanks @pravin_calvin.

Let me try that way.

It is working with below selector, but it is not looking the best solution as it is having idx in it. right?
<htmlapp=‘chrome.exe’ title=‘AdjustRite - Home’/><webctrlparentid=‘row0jqxgridEstimates’ tag='A’idx=‘3’/>

I will try with your anchor base approach and let you know.

1 Like

Hey Pravin @pravin_calvin,

I have created anchor base selector still something is wrong it is still clicking on the export button. Also when I am highlighting the element it is highlighting on Export.

image

I want to click on highlighted text.

image

Hi @shreyash_shirbhate

Try including the column name attribute!

Regards

@pravin_calvin

Column name is not reliable that’s why I have not added.

This below is working when I am using idx as 3, Should i rely on it?

image

When I am using idx as 3 the everywhere it is working. Haha :slight_smile:

@shreyash_shirbhate
Try below steps

  1. Use “Get Attribute” Activity, Indicate on Screen.
  2. Select “aaname” property from “Get Attribute Activity” dropdown.
  3. In the Selector section – Give aaname=*.
  4. “Get Attribute” Activity – Output - The value of specified arrtibute.
  5. In "Click " Activity Selector – Give aaname = Output - The value of specified arrtibute.
1 Like

Hey @Karuna,

Thanks but this will not work, I have tried it.

When I am doing aaname as * then it is taking the Export as an input.

While highlighting as well it is indicating on the Export option

@shreyash_shirbhate
Could you please share your “Get Attribute” activity selector?

@Karuna

image

image

I want to click on highlighted value.

Hi @shreyash_shirbhate

Try adding some attributes Unique to eliminate the idx because idx will vary each time !

Regards

hi @pravin_calvin

This are all the stuff which I have in Uiexplorer.

Not seeing any usable property.

Can you please suggest.

1 Like

Hi @shreyash_shirbhate ,

Have you tried adding the tableCol attribute ?

@shreyash_shirbhate
Remove the aaname=* from selector and then try and check the “Get Attribute” output is coming correctly.

Hey @supermanPunch

Please check above the col name is not reliable.

Thats why i am not adding it .

@shreyash_shirbhate we do see the tableCol having 2 indicating it is in the Second position.

Have we checked with this attribute ?

1 Like

Hey @supermanPunch

I have checked this if I took the tablecol= 2 still it is pointing at the Export button, which we dont need.

Also, this is not the structure html data table.

image

But when I add the idx =3 then it is pointing out to what we need.

IDX is like do whatever you want but at the end you need to use me. Haha :grinning:

Hi @shreyash_shirbhate

Have you try with Click Image activity

Regards
Gokul

HI @shreyash_shirbhate

Instead of selecting the aaname=“*”

You can try with innertext

Regards
Gokul

1 Like