sverweij
14 years agoNew Contributor
TestComplete and Windows Forms MaskedTextBox
- Create Windows Forms project, add a MaskedTextBox to the form, give it a date mask e.g. "09/09/0000".
- Add a button, add this to the Click event handler
- Run, enter a date, click the button. You'll get a dialog showing the value.
Now do the same in a recorded TestComplete project. The value is set on-screen, but the value in the dialog is blank!
I'm evaluating TestComplete, and this sinks us pretty hard. My guess is that this is a bug in the MaskedTextBox, not necessarily TestComplete, but not working is not working...
Any ideas?
- Add a button, add this to the Click event handler
MsgBox(MaskedTextBox1.Text)
- Run, enter a date, click the button. You'll get a dialog showing the value.
Now do the same in a recorded TestComplete project. The value is set on-screen, but the value in the dialog is blank!
I'm evaluating TestComplete, and this sinks us pretty hard. My guess is that this is a bug in the MaskedTextBox, not necessarily TestComplete, but not working is not working...
Any ideas?