mortenb123
2 years agoContributor
SetText() exception not caught
How can I catch this exception? function setControlText(control, text) {
//usage example 1: setControlText(txtUName, userName);
//usage example 2: setControlText(passwordBox, ("1234[Enter]")...
- 2 years ago
Not all methods throw an exception, and SetText doesn't throw an exception.
See TestComplete Events, OnLogError Event which can capture the message.