I am using anchor base (find element, get fulltext)
The selector for the anchor is fine. However, I am unable to select the dynamic value that comes after the anchor…
can somebody help with this issue ??
You need to add the following attribute in ctrl element.
Please see the below page in details.
[quote=“Yoichi, post:3, topic:260568”]
Thank You Yochi for the pointers. I have tried but the selectors reverts back if I save… Can you tell me what am doing wrong here ?
Which version of Studio and UiAutomation activity package? Older version does not support regex selector. If you use old UiAutomation package, can you try use 19.10.x or above?
I am on community edition and have the 20.10.4 version.
There seems to be something wrong with the regex…
Can you share your workflow? It’s no problem even if simple test workflow for regex selector.
unfortunately cannot share due to company policy.
But I am just using getfull text activity and pointing to a PDF text:
"Drop off location:
3 Street Name, Country, 985499"
The selector I am using to pick the above is :
(?<=Drop off location:).\n[^\n]
I just wrote simple workflow for regex selector as the following. Can you check it in your environment if you need?
Sample20201008-1v2.zip (13.6 KB)
I think selector is just for identify the element. (not for content itself)
So, I suppose perhaps you should get text using normal selector with wildcard, then extract string which you want using string manipulation such as Regex.Match etc
It finally worked with the pattern
Thanks Yochi for your time and help.