I have used “Find Children” activity to get the all the element from dropdown.
My question is how do we get all the individual element names from the dropdown.
And I need to pass this individual value in the “Select Item” activity.
Can any one help me on this.
Yah that’s possible
—the output variable that we get from FIND CHILDREN activity can be passed to FOR EACH activity
—in the for each activity change the type argument as UiPath.Core.UiElement in the property panel
—inside the loop use GET ATTRIBUTE activity where pass the variable item.ToString to the property Element in the property panel of get attribute activity
—now in the get attribute activity we can mention as “aaname” and get the output with a variable of type string named str_output
-then use a Message box activity with str_output as input
@Pradeep_Shiv
for sorting out the issue (unforntunately we cannot see what was configured for messagebox in the screenshot) crosscheck the implementation by following:
has get Attribute defined a variable (refering to above: str_output)
is Mesage Box using this variable (str_output)
use breakpoints on the messagebox activity and inspect
item (from the for each)
str_output
Two alternates can be tried as well
using the text attribute of the select item (Just verify its existence in UiExplorer)
uielementVar.Get(“attributename”) is doing same and can be used within assign or message box activity