I was wondering if there’s any way to return the xpath of a certain object dynamically based on parameters injection.
To have an environmental knowledge, I’m trying to check one by one all the checkbox of a grid, to do so I’m iterating over the checkbox shown in the actual grid page, but it seems like I’m not passing correctly the counter parameter and any value I submit will always and only check the first checkbox in the box skipping the rest. Since for some reason I couldn’t find a way to get out of this, I simply wanted to print the actual value of the xpath after my parameter injection to see what was going on.
P.S.: I’ve noticed that Katalon owe two types of XPath. It owes it as an attribute and as a separated entity. I’m currently using the separated entity one. I don’t even really know if there’s any difference between them, if someone is willing to explain I would appreciate it Thank you