How to user select item activity for a screen which displays dynamic number of drop-downs?

I have a screen wherein the number of drop-downs are dynamic.

How do I use the select item activity to make sure that the data is being entered in all the drop-downs being displayed (the data for the drop-downs is being driven off an excel sheet)

The selector for the first drop-down is as follows:
<html title='LA E&amp;E - Self Service Portal' />
<webctrl tag='SELECT' idx='1' />

I suggest doing loop with boolean variable, add inside activity to type into drop-downs, and this activity include into try-catch. Then when error will be caught (e.g. no selector was found) set boolean to False, and loop should stop there.

1 Like