Save button stay disabled after the form has been filled
Hi everyone,
I got an issue with TC that I don't understand. I'm working on a C++ application and in this application we got a toolbar with a save button that stay disabled until we fill all the mandatory field of a form.
When I fill those fieds manually the button change its state to enable, but when I pass by Testcomplete and fill the field with it, the button stay disable. Further, if I decide during the test to add a letter to the content of the last field to be filled, the button is activated.
My button is in a toolbar and declared like an item of this toolbar and not a child, In this case, I can't go through to see the inner properties of my button.
If you know why the event that enable my button is not triggered when I use testcompletes, please let me know.
I stay disponible for more infos
Thanks and sorry for the bad english,
- Hi Nebti,
If your test populates fields via the .SetText() method, you may try to replace it with the call to the .Keys() method for the last field or for all of them. (According to your message, it might be enough to use .Keys() for the last mandatory field.)