I’m trying to write a test in which all the checkboxes inside a panel are checked and unchecked in a certain sequence. The problem is that when I save these checkboxes as testobjects every single checkbox gets the exact same tag and xpath.
And here are the attributes:
Naturally the test doesn’t work since Katalon can’t discern the checkboxes because all of them have the same attributes.
I tried manually adding a different ID for each checkbox but if I do that Katalon won’t find the object.
Moreover, if I inspect the elements I can see the ID of the checkbox but Katalon can’t for some reason.
Those first two checkboxes’ ID are incomesource0 and incomesource1 respectively:
Please help. I’m so very stuck in this problem.
Any feedback is much appreciated.