Skip to content

ddGetCellValueByName (Array Creation & Manipulation)

Compatible with:
  • Purpose
  • This command can be used to copy a specific cell's value from one Dataset in memory as represented by the rowNumber and attribute name from the Datafile from the source Dataset as 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
  • ddGetCellValueByName(datasetName(RowNumber,AttributeName), VariableName)
  • Target
  • datasetName(RowNumber,AttributeName) -
    Name of the Dataset with row number and attribute name.
  • Value
  • VariableName
  • Return Value
  • VariableName which contains Data specified in the target.

Example(s):

Click here to see the example


 

Feedback and Knowledge Base