Hello,
Please help with the not unique test objects definition.
I need to click a star next to a specified record.
Records are unique.
How to specify the record? there is no iframe.
Unfortunately, you have lots of the same definition for the table. So, I can give my thoughts but you will have to fine tune it due to the limited amount of HTML you have shown. I don’t know if all the grids are defined with a class of “titleMachineContainer” or only the section that you have highlighted. So is it the first star or 7th star? I put it as the 7th. If it’s the first, then change the 7 to 1 and see…
How do you specify the record? In your mind, you know the criteria how to specify which one you want to click, don’t you?
Is it “I want 7th row in the page”?
or it “I want to click the star beside a text ‘S-12594’”?
Please tell it to us (people in this forum). Then we would be able to express your criteria as a locator expression in XPath or CSS Selector. Without your criteria in your mind stated explicity, then nobody would be able to find the correct answer for you.
Thank you for your answer!
Yes, all the grids are defined with a class of “titleMachineContainer”.
The record can be defined by name. I provided the element S-01259A (one of multiple with a class of “titleMachineContainer”) in the question description.