Scnerio based interview questions

Hi All,

  1. For dropdown I will be using find children activity and get the child element(UiPath.core.UiElement), then I will loop inside that I will use get attribute activty where I will select aaname. The question is NOT TO USE LOOPS and get all aaname from drop down?

2.I have 2 list and make into a single list

Thank you

You can’t not loop.

I have 2 list and make into a single list

Assign CombinedListVar = List1Var.Concat(List2Var)

he asked there will be 1000 drop down, how will handle then?

What do you want to do with them?

1000 isn’t a lot of data.

WE can Use the Attribute with Name Items from the Select element

Or

Findchildrenoutputvar.Select(function (x) x.Get("innertext").tostring.trim).toarray

Feel free to adapt the Return eg to a list, Enemerable …

Conacatening values:

For clarity, this is still looping. That’s why I said you can’t not loop. It’s just a matter of how hidden the looping is from you.

Was Not stated anything about Loop, or others.

Unfortunately Loop and for each Activity modellings are missmatched Used in the discussions and misleading

Every developer should know on how to implement such a Task with Essential activties using for each Activity.

Developers which are interessted in extended skills Sets can train alternate options as well

In Job interviews Rating Points can be collected with this