DeleteFile function

DeleteFile function is used to delete a particular file.

Select SET command from the action dropdown and provide a variable name in Element key where output will be stored, edit parameter section and click on Form, select functions from the dropdown and select DELETEFILE function. Provide file path that you want to delete.

If file is deleted successfully then it will return true in the variable defined in the Element key else it will return false.

After completing this step, test step will look as below:

Was this page helpful?