Mock Workflow Under Test Checkbox Not Visible

Why is the "Mock workflow under test" checkbox not present in the New Test Case window when creating a new test case?

Mock testing is a feature for standard Process workflows and not for Test Automation workflows. UiPath Studio Mock Testing - Extensions will be improved to specify this.

Meanwhile, follow the steps below to see the checkbox in the New Test Case window:

  1. Create a new Process workflow, as in the screenshot below

  1. If UiPath.Testing.Activities is not added to the new workflow by default, add the package via Manage Packages.
  2. Right click on the workflow xaml file and click Create Test Case, as in the screenshot below,

  1. The "Mock workflow under test" checkbox is visible, as in the screenshot below