How I get this attribute in UiElement

KakaoTalk_20220415_154729368

I need idx value but I can’t get it like this picture

it is possible that I get attribute values except idx

Please Tell me why can’t get it …

@nice_boksan

Welcome to our UiPath Community.

Its weird. Can you please check with any other element once.

1 Like

Hi,

Can you try the following?

test.Selector.GetTags().Last().GetAttributeValue("idx")

Regards,

1 Like

idx is a dynamic attribute from UiPath, and not a native attribute of the object or element you are inspecting.

It is used as an identifier, for when your selector fits multiple objects, and it is then merely a counter. You will not be able to read it using any ‘getAttribute’ method.

1 Like

wow! get it! thanks

1 Like

Understand your reply and really help to me. thanks!!

Ok. I will try other element!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.