The website i am trying to test using Katalon Studio generates id that are partialy static and partialy dynamic:
But there are never two elements that have the same staticId1/2 and different dynamicId.
So i would like to somehow generate xpath
//button[starts-with(@id, ‘staticId1’) and endswith(‘staticId2’, @id)]/span
Or at least
Because staticId2 is usualy unique.
I know I can edit the xpath manually, but I will have hundreds of them, so I would prefer that it would be automatic.
Is there a way of suppying my own xpath generator?