Directory Actions
Last Modified on 25 March 2019
The Directory actions give you control over creating, moving, copying, and deleting directories that are used in developing tests.
Directory Copy
Directory Copy
Icon | Description |
---|
 | The Directory copy action copies one directory to another location. If the directory that's trying to be copied doesn't exist, the test fails. |
Directory Copy Editor

Function | Description |
---|
Overwrite | Enables overwriting of directory contents at the target. If disabled, and you try to copy over existing content, the test fails. |
Source | The location of the directory you want to copy. |
Target | The location where you want to copy the directory. |
Directory Create
Directory Create
Icon | Description |
---|
 | The Directory Create action creates a directory at a user defined location. |
Directory Create Editor

Function | Description |
---|
Target | The location where you want to create the directory. |
Directory Delete
Directory Delete
Icon | Description |
---|
 | The Directory Delete action deletes the target directory. This action has recursive and strict options that can control the behavior of the test. |
Directory Delete Editor

Function | Description |
---|
Recursive | If enabled, the element deletes all sub-directories and files. If disabled and the target directory has content, the test fails. |
Strict | If enabled, and the target does not exist, the test fails. If disabled and the target does not exist, the test continues on as normal. |
Target | Location of directory you want to delete. |
Directory Move
Directory Move
Icon | Description |
---|
 | The Directory Move action moves a directory from one location to another. You can specify to overwrite a directory's contents if the target location already exists. |
Directory Move Editor

Function | Description |
---|
Overwrite | Overwrites the content of the target directory if it already exists. |
Source | The location of the folder to move. |
Target | Location where you want to move the source folder. |
Load Directory Content
Load Directory Content
Icon | Description |
---|
 | The Load Directory Content action loads the content of a directory into a grid. This can be useful for verifying that a list of files matches an expected set, or for use within data driven testing to allow a test to run for each file in a directory.
|

Function | Description |
---|
Directory Reference | This is the directory reference asset that stores the path to the directory to load. Select the arrow to choose the asset to use. |
Resource key | This is the resource key of the grid that's loaded. |
Include files in sub-directories | Select this to load files in sub-directories as well as the selected path. |
Wild card | This is the wild card used to select files - it could be of the form '*.txt' or 'Report*.*'. For more complicated restrictions, use the filter. |
Edit filter | Use this button to edit the filter of files to load. For more information about filtering, see the filtering topic. |