Get all elements on a page method?

Is there a way to get the id or xpath or some other identifier of ALL elements on a given page?

the AUT page I am dealing with has multiple dropdown boxes, which get a dynamically generated id at runtime. There is no way to know the id of the dropdowns in advance, so I was hoping for a way to get some kind of list of all elements on the screen and parse the ids I need.

Any help is appreciated.

Have a look at the following discussion:

There you will find a technique to scan a HTML for a set of particular type of HTML elements contained, and process them.