Get Value by Index
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built Action comes for Captured Dropdown from SAP Application Element. It instructs Avo Assure Client to get the value of an item in the dropdown list as per its index value and store the item value in an output variable.
Input: <index of Item>
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)
The User is working on SAP GUI application for managing customer orders. In the "Order Details" screen, there is a dropdown list that allows users to select a "Payment Terms" option. The dropdown is populated with multiple values, such as "Immediate Payment," "Net 30," "Net 60," etc., and the test case is to get the values in the dropdown by their index positions.
The dropdown contains payment terms: "Immediate Payment," "Net 30," "Net 60," and "Net 90."
The Avo Assure uses the "Get Value by Index" Action to fetch the value of an item based on its index in the dropdown.
For instance:
The value at index 0 should be "Immediate Payment."
The value at index 1 should be "Net 30."
The value at index 2 should be "Net 60."
The value at index 3 should be "Net 90."
1
The Get Value by Index Action needs to retrieve the value item which is selected using the Input value and store it in the Output Variable.
The Get Value by Index Action retrieves the value item according to Input Value and save it in the {result} output variable as Net 30., which can be utilized for display or other purposes.