SelectValueByText
Last updated
Last updated
The SelectValueByText Action in the Avo Assure is found under the @Custom Element. It instructs the Avo Assure Client to select the value from the dropdown according to the text for the list specified in the input and save the status (True/False) in output variable.
Input: <ObjectType>;<Visible Text (Optional)>;<Index>;<Input Text>
Note: The user needs to provide the type of object, its visible text of the element (if needed), it’s element index and the input text.
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
User is automating a test in the Materials Management (MM) module of SAP GUI to validate the "Report Type" dropdown. The test ensures that selecting "Monthly Report" updates the parameters correctly for generating a monthly summary. Using SelectValueByText Action in Avo Assure it verifies that the dropdown applies the appropriate filters and settings for accurate report generation.
dropdown;;2;Monthly Reports
2 as index value of the dropdown value
Monthly Report is the value of the dropdown
The value "Monthly Report" should be selected from the dropdown list and save the result in output variable.
The value "Monthly Report" is selected from the dropdown list and save the {result} in output variable as True.