Hello,
Iam new to UI path any help is greatly appreciated. The output of the search can be a result or “No records Found”… How do i use a if else logic to execute based on the search results…thank you in advance…
Hello,
Iam new to UI path any help is greatly appreciated. The output of the search can be a result or “No records Found”… How do i use a if else logic to execute based on the search results…thank you in advance…
Hi @mpathan
If the output of get text is strText
Use if activity and in condition give
strText.tostring.trim.toupper = “NO RECORDS FOUND”
In else do your logic
In addition to what @prasath_S has said, you can try with element exists to check whether the element No records Found is there or not. based on boolean value you can extend your logic on it.
Regards,
Nived N
Happy Automation