in the website I’m testing there is a table with 5 nested classes with the same names.
I need to validate that under the table there is exactly 5 classes but they are all the same name.
How can I iterate through the 5 classes?
I’ve attached a picture to better explain what I mean
At the end, all I had to do is to make sure there are 15 items total in 3 lists, so 5 items in each list. I needed to iterate in order to make sure nothing is missing and with the help of your answers I found the answer:
I didn’t choose any particular answer because it was the help of you both that got me there. I thank you very much!