hi… I’ve just started learning UiPath. As part of a process, I have to verify that a partcular field of a web form is never empty and contains a value provided by the customer. How can I use UiPath to verify this?
Thanks in advance!
hi… I’ve just started learning UiPath. As part of a process, I have to verify that a partcular field of a web form is never empty and contains a value provided by the customer. How can I use UiPath to verify this?
Thanks in advance!
Hi
Welcome to uipath forum
Hope the below steps would help you resolve this
Here you go on how to use that Get Attribute activity
Save the output as string variable named Strinput
Then use a IF activity like this
String.IsNullOrEmpty(Strinput.ToString.Trim)
If true it means it’s blank
Cheers @SR29
Hi @SR29
You can use Get Text Activity - Indicate on the Text in the web form you need
Store the value in the Output Variable (GetValue)
Use If Activity
Condition - GetValue <> “” Or GetValue = Value provided by the customer
Hope it will helps.
Regards
Gokul
Thank you, Palaniyappan!
Thank you Gokul!
No further queries… Thank you.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.