Skip to content

ddGetColumnCount (Array Creation & Manipulation)

Compatible with:
  • Purpose
  • This command can be used to copy a specific column count for Dataset in memory specified in the 'Target' field to a Variable in memory that is provided in the 'Value' field. The 'Variable' must exist in the scope of the current Test Run (of a Run Definition or a Scenario Validation).

    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
  • ddGetColumnCount(datasetName, VariableName)
  • Target
  • datasetName - Name of the Dataset
  • Value
  • VariableName
  • Return Value
  • Variable Name to store Count  

Example(s):

Click here to see the example


 

Feedback and Knowledge Base