How to See what data is available in an element

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

image

image

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

@daryl_pressley

Use Get Text activity and indicate the element from where you want to read the text.

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

image

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

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