Problem clicking the button that needs scripting

To help you further I will need to see the code you are using.

I did some tests and found that attribute and property assignment behave a little strange which would appear to suggest you may be seeing the same issue in your test case code.

element.setAttribute("href", "value") and element.href = "value" both appear to change the attribute watching them live in the browser console.

However, reading them after they are changed produces different results (which is probably what is causing your issue).

Here is the output from the console looking at the Katalon home page:

As you can see, reading the property results in the fully normalized path whereas reading the attribute reads whatever is assigned by the server (or later changed via code).

Question now is, what is Katalon’s WebUI API reading?

So, if your code is using getAttribute but you’re working with a perspective using the property, you may have unfortunate (but expected) issues.

The solution is likely to be, use a dynamic TestObject (see makeTO), or write the test case step in JavaScript. Either way, post your test case code - that’s the best way to figure out what’s best for your scenario.