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:
- Create a new Process workflow, as in the screenshot below
- If UiPath.Testing.Activities is not added to the new workflow by default, add the package via Manage Packages.
- Right click on the workflow xaml file and click Create Test Case, as in the screenshot below,
- The "Mock workflow under test" checkbox is visible, as in the screenshot below