cancel
Showing results for 
Search instead for 
Did you mean: 

How to resolve? - The window was destroyed during method execution

SOLVED
Highlighted
Regular Contributor

How to resolve? - The window was destroyed during method execution

How can this error message be resolved? "The window was destroyed during method execution."
Thank you, Heidi / Quality Assurance Specialist
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Valued Contributor

RE: How to resolve? - The window was destroyed during method execution

Ok 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.

''-Praise the sun and Give Kudos.''

View solution in original post

3 REPLIES 3
Highlighted
Valued Contributor

RE: How to resolve? - The window was destroyed during method execution

This occurs when the form you are working with is closed. Can you post the sections of code where the error occurs?

''-Praise the sun and Give Kudos.''
Highlighted
Regular Contributor

RE: How to resolve? - The window was destroyed during method execution

I am not sure how to do that. (It is a Keyword Test, if that makes a difference.)
Thank you, Heidi / Quality Assurance Specialist
Highlighted
Valued Contributor

RE: How to resolve? - The window was destroyed during method execution

Ok 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.

''-Praise the sun and Give Kudos.''

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors