I have dropdown field named “Gender” in UI with values Male and Female. Now this field can be there at any place in UI i.e it’s placement may change any time. Now I want to read the dropdown values of it and i am doing it with Find children and it’s working fine. My doubt here is when I indicated that dropdown using UI explorer I am not finding any property like aaname is Gender. I am only able to see some property like id=customObjectView_customPropertySheet_ddl_Prop_234567_10359. I don’t want to use this id for identifing because those numbers are changing.
Any idea on how to use it other than using id. I want to identify it will field name actually. So that it will be accurate
Unfortunately, as web selector of UiPath doesn’t support selected item of Select element, we need to use GetAttribute activty, too , as the following, for example.
Or, if we set AA as UiFramework when indicate element (press F4), we can get selected item as text attribute of selector. However it’s not very good to handle web element, i think.
I already tried your 2nd point it’s showing Error as “Anchor based selectors are not supported in Selector Editor”
And also there are no unique attributes. Only unique attribute is id=customObjectView_customPropertySheet_ddl_Prop_234567_10359 , but numbers keeps changing