heidi_nRegular Contributor11 years agoHow to resolve? - The window was destroyed during method executionHow can this error message be resolved? "The window was destroyed during method execution."Ryan_Moran11 years agoOk well basically you'll want to make sure the window you are clicking, sending keys to, etc, is actually there and not closing/crashing during test execution. The log should tell you what form was "destroyed" during execution.
Ryan_Moran11 years agoOk well basically you'll want to make sure the window you are clicking, sending keys to, etc, is actually there and not closing/crashing during test execution. The log should tell you what form was "destroyed" during execution.
Ryan_Moran11 years agoOk well basically you'll want to make sure the window you are clicking, sending keys to, etc, is actually there and not closing/crashing during test execution. The log should tell you what form was "destroyed" during execution.
Ryan_MoranValued Contributor11 years agoThis occurs when the form you are working with is closed. Can you post the sections of code where the error occurs?
Related ContentThe window was destroyed during method execution.Windows DestroyedNeed help with 'The window was destroyed during method execution'Window was destroyed during method execution while selecting menu itemsGetting "The window was destroyed during method execution" error in TestExecute on windows server
Recent DiscussionsHow to stop TestComplete from failing a test when unrelated processes crash?Shared user form between projects and event managementHow to add external files to a project?SolvedUnintended actions during keyword test runTest Execution Summary is null