Hello
I have this dynamic date and I want to save it to variable
How can I do that ?
If I disable the aaname or inertext from the selector it is not recognaized.
Hi @mironb,
If aaname contains the value that you want, then you could enable it and get the value using the “Get Attribute” activity (by using aaname as the attribute)
Thanks,
Nishant
You can use regex in selector so aaname you can use like this
<webctrl ….. aaname=‘\d{2}\.\d{2}\.\d{2} .*’ matching:innertext=‘regex’ />
Cheers
You missed matching: in the selector and please replace the single quote again in code
Cheers
I copy what you wrote
I understood I changed it but still doesn’t recognized
What do you mean by mactching ?
I am new in UiPath
Where I insert it ?
I did it in the selector window but the validate is red
Its a format…please check the link…
In the selector i see you are not given
<wnd app='applicationframehost.exe' appid='Microsoft.WindowsCalculator_8wekyb3d8bbwe!App' title='Calculator' /> <uia cls='LandmarkTarget' /> <uia automationid='CalculatorResults' name='Display is \d' role='text' matching:name='regex' />
Cheers
I put it llike this but why the validate is red ?
Can you show the original selector with aanamme please…and also please remove prentid or instead od numbers in it use *
Cheers
Please try this
<webctrl tag='Strong' class ='colorText' innertext='\s*\d{2}/\d{2}/\d{2}\s*' matching:innertext='regex' />
Cheers
I missed a single quote after colorText …please incliude it
To verify it is correct values will look in blue and tags will look in red
cheers