Newby here, obviously
I am currently tyring to automate some processes with an on prem program, however I am not sure how to do the following
1)See what elements or strings UIpath is seeing to know if i can get identifying characteristics from it,
Here is the screenshot of what I am trying to get the data on


I am trying to target the 0031 but don’t know how to identify it using studio, or how i can see what all the elements that are being found are.
so my questions are
1)How to target the 0031, extract it as 31, and understand what all elements are available in this click to identify it
lakshman
(Ganta lakshman)
2
@daryl_pressley
Use Get Text activity and indicate the element from where you want to read the text.
Gokul001
(Gokul Balaji)
3
HI @daryl_pressley
Use Screen scrapping activity and indicate the element on the screen
OR
You can Try with Get Text Activity
Store the output in the variable → StringVal

Use the Regex expression
Use Assign activity
LHS → Create an variable
RHS → System.Text.RegularExpressions.Regex.Match(StringVal,“^\d+”).Tostring
Hope it will work
Regards
Gokul
Gokul001
(Gokul Balaji)
4
Hi @daryl_pressley
Use Assign activity
LHS → Create an variable → Sample
RHS → System.Text.RegularExpressions.Regex.Match(StringVal,“^\d+”).Tostring
Use Assign activity
LHS → Create an variable → Sample1
RHS → Sample.Replace(“0”," ").Trim
Regards
Gokul