Configuring a directory data source
You can use a directory data source to populate tag values from the contents of complete files or their properties and to read data from the resources in a specified file system directory or a project folder.
About this task
To configure a directory data source, do the following steps:
Procedure
- Click Browse to locate and select the directory to be used as the data source.
- Specify whether the source is a file system directory or a project folder.
- Select Recurse Subdirectories check box to specify if the contents of subdirectories are used.
- Select a character encoding from the Encoding list.
- Specify the wildcard patterns to be used to include or exclude files that match the patterns.
- Select the sorting option to be applied when the files are processed.
- If the number of test iterations can exceed the number of matching files, enable the Loop Data option so that Test Integrations and APIs can process the same files over and over.
- Click Refresh to generate a preview of the files and properties that are returned.
- Save the data source when finished. See Creating tags from data source fields for details about creating tags by copying column names.