I would like to check the elements in a drop-down and verify that the element are displayed correctly.
My drop-down list contains years and the data should be sorted by descending values: 2021, 2020, 2019, …
Could you help for doing that because I don’t know exactly which command and target I have to use.
I can retrieve all elements:
[info] Store ‘2021,2020,2019,2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2007’ into ‘YearsValues’
How can I do check value after value that the sort is correct ?