Defining a File as a Test Data Generation Source

You can import a CSV file to define a data generation source for a data profile. You can define the following generation source parameters for the CSV file:

Value

Parameter

Description

Values

Random

Indicates to import file lines in random order

Sequential

Indicates to import file lines sequentially

Each CSV file that you import for each data profile must come from the same directory. If you have not previously used this directory as a CSV file test data source, you will need to select the correct directory to define the file path.

PowerDesigner provides example test data files in the \TESTDATA directory.

  1. Select Model > Test Data Profiles .

    The List of Test Data Profiles is displayed.

  2. Double-click a data profile.

    The Profile properties sheet opens to the General tab.

  3. Select the File radio button.
  4. Click the Detail tab.

    A dialog box asks you to select a file.

    Note:

    If you are importing a CSV file for the first time from a specific directory, you need to select the appropriate directory.

  5. Select a file and click Open.

    You return to the Detail tab.

  6. Specify test generation parameters.
  7. Click OK in each of the dialog boxes.


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com