Contributions
Seems like Click() method doesn't work because TestComplete run progress bar overlaps the button
I'm facing the following issue : my tests occasionally failing because sometimes TestComplete run progress bar overlaps the button I'm trying to click using Click() method. The issue is simply resolved by using ClickButton() method instead of Click(), but if this is really TC issue - I would have a look at it. It's strange I didn't get any fails previously for the same tests - probably, it is because we updated TC from 10 to 12 version (or from 12 to 12.2 - don't know exactly).Solved1.9KViews0likes3CommentsRe: TestComplete crashes if to Pause runner within OnLogError event, and then stopping it manually
Checking the content of error message is implemented by design - anyway I don't think that simplifying function to be just if (...) Runner.Pause else Runner.Stopwill solve the problem, as after pause work - it jumps to the last '}' line of function. And afterwards - when clicking on Stop manually - it crashes. I've just implemented workaround - by replacing 'Runner.Pause' by 'Log.Message(...)' and setting breakpoint for it - thus no crashes and it works the same way as I expected.1.5KViews0likes3CommentsTestComplete crashes if to Pause runner within OnLogError event, and then stopping it manually
Hi there, Is it known issue? I have event that stops excecution on some kind of errors, and I have project variable called 'PauseOnError'. So the first check within event - is PauseOnError true? - then it will either pause runner or probably stop it. function GeneralEvents_OnLogError(Sender, LogParams) { if (Project.Variables.PauseOnError == true) { Runner.Pause(); } else if ((LogParams.Str.indexOf("process crashed") >= 0) || (LogParams.Str.indexOf("exception") >= 0) || (LogParams.Str.indexOf("login failed") >= 0) || (LogParams.Str.indexOf("button is disabled") >= 0) || (LogParams.Str.indexOf("is not found") >= 0) || (LogParams.Str.indexOf("The object does not exist. See Additional Information for details.") >= 0) || (LogParams.Str.indexOf("The database version does not match the software version. Please contact your system administrator") >= 0)) Runner.Stop(); } So, I'm constantly getting TestComplete crash when having runner paused and then clicking 'Stop' manually from TC toolbar. Thanks, Sergey1.6KViews0likes5CommentsRe: Window was destroyed - choosing menu items
Hi Alex, Thanks for reply, I will definetely try what you said. I had to avoid choosing menues cause I needed to find solution FAST - I used navigation pane items instead, which is implemented in the application I test. But I will turn back to menues at some point later. Thanks, Sergey1.5KViews0likes0Comments