Assert in UiPath

Hello,
I have a question that I could not find answer to, so I hope you can help me.
My question is:
Is there in the UiPath Studio something like assert, just like we have assert in C++ (for reference: assert - C++ Reference)?

Thank you in advance! :slight_smile:

Somewhat. It’s not quite the same concept, but Studio Pro allows you to write test cases for your process. This works something like assert.

1 Like

Thank you for the reply.
As far as I understand it is not available for community version of the studio. Please, correct me if I am wrong.

This is correct. I don’t know of anything in Studio that works as assert does in C++. You would need to use If and Throw activities to recreate this functionality.

Thank you!

Maybe the “Check True” activity is somehow similar
It combines “If” and “Through” in a single activity.

Cheers

1 Like

I’ll will check it.

Cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.