Select item from drop down with the name

@Aditya10989
Interacting with find children:
Lets assume you have drop down like this Link to Dropdown
grafik
grafik

Using find children needs following:

  • 1 configuring the selector to the select element
  • 2 configuring the filter to the options
  • 3 defining an output variable

grafik
grafik

Selector:

<html app='firefox.exe' title='&lt;option value=&quot;&quot;&gt; »' />
<webctrl tag='SELECT' />

the last part poining to the selcet element is the most important portion
Filter:
"<webctrl tag='OPTION' />"

will return us a list with the selectitems (options)
this can be computed / filtered and be used for the dropdown selection:

grafik

Filterstatement used within assign activity
uiLists.Where(Function (x) x.Get(“innertext”).ToString.StartsWith(“Andean”)).First

Using the found UiPAth.Core.UiElement within a select item you can refer to screenshot. Selector of this activity is pointing as well to the dropdown box.

As mentioned above some members reported that selection with wildcard were working at their end. So we can ommit these steps with find children and assign and would doit it like this for “Andean flamingo”
grafik

5 Likes