Is is possible to test the dropdownlist(menu)?

Hi. I want to test the dropdownlist.

This image is a screen shown on the web.

I use the for() from the top.

If I test three time, I want to check the A in the first for().

(check the B in the second for() and check the C in the last for())
Is there a way to do this?

Let me know if there is a better way.


try to get all components and their text/vlaue (what you want) in array, use [].sort function of groovy to sort it and compare in loop or compare arrays before abd after sort