The specific tool I am using is Oracle Openscript, part of the Oracle ATS package. However, their web-based component uses xpath-based object identification, so it has a lot in common with other, more popular tools.
The problem I'm having is that after recording a series of navigation clicks on heavily-styled elements (for example, <a>
elements styled to look like buttons using jQuery), a simple playback fails to click on them. It turns the correct element pink, which I believe is OpenScript's way of identifying what it's trying to click, but then times out unless I manually click it. Clearly the click event is failing.
I know record and playback is immensely fragile, so I'm trying to build a library of helper functions I can use to build tests in the future. What methods generally do people use to combat fragility of click methods in tools? Surely there's a better way than just trying in a loop until navigation changes?