ddPersistDatasetToDataFileTemporary (Array Creation & Manipulation)
Compatible with:
- Purpose
- This command can be used to temporarily replace the existing data file with the new data dynamically returned from the query/created specifically in the context of the run being executed. The data file will not be persisted to the database and it can be used in dynamic binding within the run that is being executed.
This prevents creating dummy data files, where the data file is persisted only to replace with dynamic binding within that run.
The Dataset used in target field has to be created anywhere in run time before this command gets executed. Else, the test run gets aborted saying "For one or more Instructions within the Test Script "<Test Script name>" that use the "<Array Creation & Manipulation Command>" command, the Dataset name provided in the 'Target' field does NOT exist in the scope of the Test Scenario" message. - Syntax
- ddPersistDatasetToDataFileTemporary (datasetName, temporaryDataFileName(Status))
- Target
- datasetName - Name of the Dataset
- Value
- DataFileName(Status) - Name of the data file to be used during the run dynamically and the status. By default, the status will be Active.
- Return Value
- N/A