Search code examples
monkeytalk

How to verify the status of the buttons using MonkeyTalk command


Anyone please tell me the command to verify whether the option is enabled or disabled using Monkey-talk.


Solution

  • You should be looking at the .enabled property is true or false. Here is an example:

    Button login_button Verify 1 .enabled 
    Button login_button Verify 0 .enabled