
How to test the button disability functionality when automating a test case
Hi @PallaviReddy ,
Try to get the XPath of the button and get the attribute of the button. Using the attribute you can test the disability.
Ex:
$("#submit").attr( "disabled", "disabled" );
Hope it helps.
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.