Create a File

You can add an activity to create a file in the local folder.

Procedure

  1. In the search bar of the Automation information side panel, enter Create file and drag and drop the Create File activity in the workflow of your automation.

  2. Select the Create File activity. On the Create File side panel, enter C:\\FileWithError.txt in the filePath field to create an error.

  3. Save and test your automation. The testing session fails.

    You can review the test data in the Test Console tab.

Next Steps

Next, you need to manage the error that have been raised in your automation.