here is the answer
text='(^12.*|^32.*)' matching:text='regex'
here is the answer
text='(^12.*|^32.*)' matching:text='regex'
Hello @Harpoon
It would be better if you can explain with some sample data
Are you trying to click on the item if the values starts with 12 or 32?
Thanks
Hello @Harpoon ,
As a best practice always assign values to variable and use the variable in your selector.
Regards,
Rohith
I mean in this situation if my sap row data have 3 row
3200xxxx
1300xxxx
1400xxxx
and I want to click on row startswith 32
It’s don’t work. What did I do wrong?
Hi @Harpoon
Send the screenshot of Ui Explorer. Then we will get better idea about the attributes and all.
At a time you can send only one variable. You can perform the operation in UiPath studio and assign that to another variable then pass that variable in the selector.
@Harpoon ,
I mean in this situation if my sap row data have 3 row
3200xxxx
1300xxxx
1400xxxx
and I want to click on row starts with 32
So if you want to click in the element which starts with 32, then use a wild card after 32 as(32*) to replace all the upcoming values.
However, if you have a necessity of clicking on the item which either starts with 32 or 12, then use regex based selectors as explained in the below thread.
Regards,
Rohith
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.