I need to find the how many dropdown are here
Note : Not Statically ,I need dynamically
Please So urgent
Good afternoon, most likely such blocks are implemented using a table, so please check which selectors are in these drop-down lists or in the area behind them and send the selectors here.
If implemented using a table, you can primitively count the number of rows, which will be the number of drop-down lists in the block.
Hi,
Can you try the following steps?
-
Get whole text of dropdwon using Get Full Text activity. (let’s say this output is
res
) -
The following expression returns its count.
res.Split(vbCrLf.ToCharArray,System.StringSplitOptions.RemoveEmptyEntries).Count
Regards,
1 Like