Drop-Down List in Automation Anywhere

Gabriel Santana

New Member
Hello friends. I need help with Automation Anywhere
  • I have the following Drop-Down List and need to select an option.
  • <option selected="selected" value=""></option>
    <option value="0001">EUA OPT (0001)</option>
    <option value="0002">BRA OPT (0002)</option>
    <option value="0003">GER OPT (0003)</option>
  • I want the second option, BRA OPT (0002). In "Web Recorder" in the "Manage Web Controls" command there is a functionality to work with Drop-Down List.
    I can select the desired option for the "Select Item By Text" action, but it is only possible when I enter the full text -> BRA OPT (0002).
  • How do I make the chosen option be selected by entering only the value? value = "0002"

    Thank you.
 

Attachments

  • options.jpg
    options.jpg
    24.1 KB · Views: 16

VJR

Well-Known Member
Hi Gabriel,

If you have the value with you see if you can make use of the 'Select Item by Index' and then pass the value to it.
I guess it automatically converts 0002 to 2. Try it on all the values of your dropdown.

Select Dropdown.jpg


A second option if that's possible for you would be to have all the "value" in the option tag to be the same as the "Text" in the dropdown.
 
Top