Get All Key Value Pairs
Last updated
Last updated
This is pre-built Action comes for Captured Dropdown from SAP Application Element. This Action instructs the Avo Assure Client to fetch the key values for all the items present in the dropdown list and store it in an output variable.
Input: N/A
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)
The user is working on the "Sales Order Creation" module in theSAP GUI application. In the "Sales Organization" dropdown, there are multiple sales organizations, each having a unique key value associated with it. The test case will use the "Get All Key Value Pairs" Action to retrieve all the key-value pairs (where the key is the unique identifier and the value is the display name of the sales organization) from the dropdown list to ensure all values are correctly populated and available for selection.
The dropdown list in the "Sales Organization" field contains the following items:
Key: "1000", Value: "North Region"
Key: "2000", Value: "South Region"
Key: "3000", Value: "East Region"
Key: "4000", Value: "West Region"
The Get All Key Value Pairs Action needs to retrieve all Key pairs from the dropdown which is captured and save it in the Output Variable.
The Get All Key Value Pairs Action retrieves all the key pairs from the dropdown and save it in the {result} output variable as
1000 North Region
2000 South Region
3000 East Region
4000 West Region
, which can be utilized for display or other purposes.