# How to verify the disabled button?

To verify the disabled button where XML syntax is like below:

&lt;button type="button" disabled&gt;Add Comment&lt;/button&gt;

Use the below code to verify disabled:

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/sv0i13TlUEGF7EtZ-a93070a99bca.png)<div id="bkmrk-last-updated%3A-june-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 26, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>