The button 'Accept' is disabled. The action cannot be executed.
Hi,
I am getting this error when i record somehting on test complete. "The button 'Accept' is disabled. The action cannot be executed." I checked the properties of the my button and it says that is is enabled and visible.
Any suggestion.
thank you
I'm guessing that this is really happening when you are playing back the recording, right?
Try putting a breakpoint on a line a little bit before the one that won't click the Accept button, then step through the test to see if you can get past this spot. If that works, then it's likely a timing issue. The test is running faster than the page can load so it gets there before the button is enabled. Use one of the Wait* functions to wait for the button to be enabled and then try to click it.
https://support.smartbear.com/testcomplete/docs/app-objects/common-tasks/waiting-property-value.html