I have heard from UiPath that we cannot use * in Selector for Mobile Automation. Can anybody please tell how can I make the fuzzy or normal selector as dynamic then?
In below given example I want to make the yellow highlighted properties as dynamic
Let me elaborate my problem. Thereās one mobile application and I need to get(using get attribute activity) the value of points. Please note in below image ā600ā and āGoldā will be dynamic. How can I make these attributes as dynamic
To answer the above question, update the selector to be like this:
ā* pts to *ā
You need to update any dynamic vaules with a *. The asterisks(*) will handle the different/dynamic values in there.
To get the dynamic value follow these steps:
You need to use a Get Attribute Activity to get the value of the ātextā selector regardless of its value. and save it to a new Variable (say āstr_Rawā).
To do this:
Determine the name of the selector (edit selector). ātextā
Insert a Get Attribute activity.
Indicate element.
Update the āAttributeā field from the properties panel with the name of the selector.
Once you have done this, we need to manipulate the string to get our values. I am using Regex to do this. Then we need to save each value to a new variable.
Actually Iām looking, how to make any selectors dynamic in Mobile Automation. text attribute will vary for different users. I want to get the value of text but in Mobile Automation * doesnāt work
In addition to this problem, If the value of text is empty and I want to get the value of accessbility id, how can get the value of accessbility id ?