The Get row index by value action is used for SAP technology. Let's say we have the following testing scenario: We have many rows in a table and we want to search through all rows and find a specific cell in a given column based on a given value.
The solution to this situation is to use the Qualibrate user action Get row index by value and provide its parameter value in the Data set.
In the following example we have a list of items in the column and we want to store only the one, which contains a certain text under the target column:
Record a Store step on your SAP window
Go to the step configuration window and modify the Action Type to Get wor index by value action
Go to the Data set tab and change the value of the parameter for this step to the target value
Save the changes
You can also export it as a variable to be able to reuse the value in the next step.
The following search options are available:
Full-text column search;
Partial text column search.
Partial text column search with more than 1 occurrence returns the first occurrence when more records match.
The default operator for text column search is “Contains”.