Skip to content

ddSetCellValueByIndex (Array Creation & Manipulation)

Compatible with:
  • Purpose
  • This command can be used to copy a specific cell's value from a Variable in memory that is provided in the 'Value' field to one Dataset in memory as specified in the 'Target' 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
  • ddSetCellValueByIndex(datasetName(RowNumber,columnNumber), VariableName)
  • Target
  • datasetName(RowNumber,columnNumber) -
    Name of the Dataset with RowNumber and columnNumber.
  • Value
  • VariableName
  • Return Value
  • VariableName which contains Data to be copied to the target.

Example(s):

Click here to see the example


 

Feedback and Knowledge Base