Dynamically refilling a data set

In some cases you may want to use values from an external data source to supply your action lines with data vectors.

Important: 
The data source is external, and tab-delimited text file.

  1. Create a data set with at least one row. The purpose of this is to establish the header names/variables for TestArchitect.

  2. Create a dummy data set with at least one row to provide a link to the external file (see Creating a new data set for details).

    Your dummy data set may resemble the following.

  3. Precede the use data set line in your test procedure with the refill data set action.

    Supply this action with two arguments: the data set name, and path to the external text file.

    Notes: 
    The text file (which may, for example, be one that was generated by a database query) must contain tab-delimited text lines. Each line effectively becomes a vector of the data set during the use data set/repeat for data set loop. Therefore each line must contain the same number of fields as the named data set has columns, with the fields of each vector in the same order as, and corresponding to, the column headers of the data set.

    Your action lines may resemble the following.


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400