Setting Read Options for ActiveData Test Files

Set the read/write options for an ActiveData file using the Options tab of the ActiveData setup window. Set whether to treat the first row in the ActiveData file as a column header, and set the sheet in a spreadsheet data file to use for ActiveData testing using this tab as well. The procedure for setting these options differs slightly for a spreadsheet data file as opposed to text (.txt) or comma separated (.csv) data files.

  1. In the Options tab of the ActiveData window, check the Use first row as header check box to allow Silk Test Workbench to treat the first row of data in the file as column headers. Checking this check box enables you to map data to records held in rows for each column in the data file when creating an active data test. If the Use first row as header check box is not checked, data in the first row of the file is interpreted as actual ActiveData items.
  2. Check the Force read only check box to force Silk Test Workbench to treat the ActiveData file as a read only file, regardless of whether or not the file is actually set to be read only. Selecting this option does not change the read/write setting for the ActiveData file. Checking the Force read only check box also disables the Insert and Delete buttons for rows and columns in the Details tab of the ActiveData window, so changes cannot be made to the ActiveData file from within Silk Test Workbench.
  3. For spreadsheets, in the Sheet list, select the sheet within the Excel spreadsheet that contains the data to be used for the ActiveData asset.
  4. For comma separated value and text files, select an option to indicate the character used in the ActiveData file to separate data items. If using a custom character, select the Other option and type the custom character in the Other text box.
  5. Continue creating the ActiveData asset.