How to check dynamic index Element in UI Explorer?

Hi guys . I’m in progress to check exist blue button or not on 1st pic . And I know that , Button will be displayed dynamic on per category , not default . And When I use UI Explorer to indicate element , I see that “idx” on 2nd pic will be dynamic too and It will be depend on position blue button on per Category which will set on System . I don’t know “How To Check Dymanic Index” for Element on screen when It change position blue button another category ? . Any help . Thanks

my 1st pic

my 2nd pic

Hi @Anh_Nguyen ,

Does the innertext or parentclass/parentid remain constant throughout?
If so, then you can remove any dependency you have on the dynamic index and use those instead.

Could you give that a try and let us know?

Kind Regards,
Ashwin A.K

Hi @Anh_Nguyen ,

Could you let us know what are you trying to perform?

Do you want to perform a Click on the Blue Button ? Or Do you Just want to Check if the Blue Button exists?

Maybe providing more details would help us in giving you a better suggestion.

Hi @Anh_Nguyen

Have you try with Click Image activity

Regards
Gokul

Hi , I already checked exist or not button by my self . It’s oke . But I want to click on Blue Button with dynamic index . When it displays on screen . is It possible or not ? . Thanks

Regard,

Hi , I thought about Click Image activity , but what if many same blue buttons on my screen ? . It will be clicked wrong my category or not . Because you just can click image only when it’s unique on screen . I think so .

Hi @Anh_Nguyen

In your screen there is any duplicated values as same as blue color.

What is the word in the blue color area?

If not you can try with find text position activity

Regards
Gokul

Hi , I see inner text or parent class / id on right column on my 2nd pic . But I don’t understand your answer . what is any dependency ? . Could you explain more , please ?

Thanks

Hi , As I said : It will have many same blue button ( same text ) on screen , just different from index of button . That’s why I need you to help check dynamic index button . Is it possible or not ?

Hi @Anh_Nguyen ,

Sorry I meant to say that you don’t have to rely on the index if the innertext or parent tags are enough to detect the element you want on the page.

Kind Regards,
Ashwin A.K

Hi , Thanks for your meaning . I will have many same blue button , same text => Inner text , parent tag , id , class will be same as well . I afraid that It will be clicked wrong category . if I don’t rely to idx instead . I thinks so . Thanks

Regard,