I am using the “Type Info” Activity to get the element, but other than this i want to extract the specific value for example “21.5”, screen shot is given below
Get Text to get the full element, i just want to extract “21.5”
We can try extracting the full text and with regex or string manipulation we can get the specified value!
Regards
So After getting the full value as suggested you can try with rex and string manipulation
Regex expression
System.Text.RegularExpressions.Regex.Match(GetValueVariable,“(?<=BMI\sis\s)(\d.+)(?=\s()”).tostring
String Manipulation
Split(“Your BMI is 21.5 (N”.Substring("Your BMI is “.Length),” ")(0)
Instead of hardcoded values you can use your get text variable value here
Regards
Gokul
3 Likes
appreciate your kind support, thanks!
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.