Help me to solve the problem

It is possible to retrieve the name of a dropdown menu in UiPath without manually selecting an option from the dropdown. One way to do this is to use the GetAttribute activity to retrieve the name attribute of the dropdown element.
You can use a For Each loop or an If condition to iterate over multiple dropdown elements and retrieve their names. For example, you could use a For Each loop to iterate over a list of dropdown elements and retrieve the name of each element.

Keep in mind that you will need to specify the selector for the dropdown element in the GetAttribute activity to target the correct element. You may also need to use additional activities, such as the Find Element activity, to locate the dropdown element on the page.