Need to verify disabled textbox

Need to verify that text box is disabled. I have tried verifyelementnotclikable. It displays element is clickable and test case got failed. Please suggest

Assuming the HTML devs have coded your inputs to the HTML spec, then checking for the disabled attribute might (should?) work. The question I have is, what does Katalon do with a boolean attribute? It’s mere presence (with no assigned value) means true.

From MDN:


Can you share the HTML for the text box, and maybe some of its parent elements? There is almost certainly some attribute that indicates whether the widget is disabled or not.

<input id="modifyHostsForm:idDnsIp0_0" type="text" name="modifyHostsForm:idDnsIp0_0"  disabled>

So what’s the issue? Use this like I said…

If you get issues, report back here…

Agreed, I would try:

assert WebUI.getAttribute(myTestObject, “disabled”) != null

Use the Verify Element Has Attribute and Verify Element Not Has Attribute.