Hii, below image shows the selector of an element. I want a idx value from the selector. Is there anyway to do this?
Regards,
You can use the Get attribute activity and indicate on the UI element. Select the idx from the attribute drop-down, create a variable to the output of Get attribute activity. It will store the idx value of that selector.
Hope it helps!!
Nope, the element does not have the property named idx. I tried that before. It is assigned by the UiPath at runtime.
Output variable of Get attribute is giving empty… @Yasir_Yaqoob
Don’t know why it is returning null.
Can you print the LastMessage in Immediate Panel
This is immediate panel bro.
I am thinking about convert it into string, and then apply substring.
I mean Last Message Variable only because it is getting data or not
Sorry for previous message.
I think we should place something else instead of Last()
Nope, it is throwing an error.
Hi @Yasir_Yaqoob ,
have you tried get attribute activity?