TestCase in Orchestrator always shows "Passed"

Hi friends, I’m having an issue running TestCase’s in Orchestrator.

My problem is that the Test Excecution always shows “Passed” in Orchestrator even though the Verify activity clearly says “Failed with exception: Verification failed. The expression ‘TestException == null’ returned ‘False’” in the logs.

I am using the UiPath Test Automation Framework. My tests are using the Test Execution Template in the framework.

EDIT: I have also created a Simple TestCase that only includes one Activity: Verify Expression = False. This Test also shows as “Passed” when running it from Orchestrator, but the log says “Verification failed”. This test does not use an Execution Template.

But if I in the “…Then” section of my TestCase adds an Throw activity to throw an exception, then the test will fail in Orchestrator.

image

image

When I remove the Throw then the test run in Orchestrator is again marked as “Passed”.

I have tried setting the “Continue on failure” attribute to False, but alas: no change.

Anyone know what the issue can be? How exactly is this supposed to work? I would expect the test in Orchestrator to show “Failed” if one of the verifications in a Testcase returns false, but that is not happening. Or am I misunderstanding something?

Thank you.

Hello @ripers!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly
Forum_Staff