Allow user to select fr drop down

I have a desktop application in which we have a dropdown to select . I have to give user the ability to select which ever option is suitable for them from the drop down.
I tried putting these options in Input Dialog Options but this drop-down is dynamic
I did try select item and find children both didn’t work
Any suggestions for this ?

@Abc_Xyz1

First click on the dropdown and then feom
The dropdown menu selector use get children or use get attribute and get the innertext and check if you are getting all the values

Cheers

Hi @Abc_Xyz1
You can try using the Get Attribute activity to retrieve the options available in the dynamic dropdown and store them in a variable.

  1. Use the Get Attribute action to retrieve the options available in the dynamic dropdown and store them in a string array variable (e.g. Array).
  2. Use a For Each loop to iterate through Array and concatenate each option with a newline character to create a single string (e.g. options).
  3. Use the Message Box activity to display optionsString to the user.
  4. Use an Input Dialog activity to retrieve the user’s selection and store it in a variable (e.g. selectedOption).
  5. Use the Select Item activity to select the selectedOption in the dropdown.

This should give the user the ability to select whichever option they prefer from the dropdown.

Regards,
Kaviyarasu N

I did use the get attribute but it doesn’t have any attribute which is storing all the options available…Find children has the same issue.

Hi @Abc_Xyz1 ,

Do make sure you are using the UiExplorer to check on the attribute values. Additionally Navigate through the Visual Tree in the Left Panel after you have selected the Item in the Dropdown, then find and Select the item’s Parent Element.

This element should contain all the dropdown values listed.

Let us know if you are still facing issues and it would be helpful for us if a Screenshot of the Whole UiExplorer is provided to check on.