Object with hyperlink and checkbox

Hi there,

I just start working with Katalon and I build a testscript, but I run into the following problem:
In my testscript, there is a checkbox with needs to be checked. But the checkbox is part of an object and in the same object there is also a hyperlink to downloand an attachment.
When I record the tescript, I click on the checkbox or a text of the line beside the checkbox (but not the hyperlink) and the checkbox is checked. But when I run the testscript, the checkbox is not checked, but it opens the hyperlink.

Can I remove a hyperlink or the opening of a hyperlink from an object?


To solve this problem, we’re going to need to use Script view and write some code.

To write the code, I need to see the HTML you’re dealing with. The best way to do that is to learn to use the browser DevTools and send a screenshot showing the checkbox HTML code from the Inspector.

Hi Russ,

Thanks for the repsone. It is not necessary anymore.
With the DevTools link, F12 and the Console Tab I could already select specific the checkbox and not the whole object.

It is working now, thanks!