Skip to content

ddGetRowValuesByColumnValue (Array Creation & Manipulation)

Compatible with:
  • Purpose
  • This command is used to get the content of the entire row that is specific to the column 'value' in the column and store in a data set. The data rows will be filtered according to the 'value' given. ddGetRowCount command could be used to get the count of the number of data rows in a DataSet.To read/retrieve the row values in the dataset, use the ddGetCellValueByName or ddGetCellValueByIndex command for each cell.

    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.

    If there is no content(data rows) retrieved from a data set by the given columnName and columnValue, then an empty data set is being created with no data rows.

  • Syntax
  • ddGetRowValuesByColumnValue(datasetName(columnName,columnValue), VariableName/datasetName)
  • Target
  • datasetName(columnName,columnValue)
  • Value
  • variableName/dateSetName
  • Return Value
  • N/A

 

Feedback and Knowledge Base