cancel
Showing results for 
Search instead for 
Did you mean: 

Getting "The window was destroyed during method execution" error in TestExecute on windows server

SOLVED
Highlighted
Community Manager

Re: Getting "The window was destroyed during method execution" error in TestExecute on win

Community Heroes, thank you!

 

Hi @Shehnaz it looks like the Community requires more info from you to carry on with the investigation.

Have you solved the issue? If not, please provide the needed data.


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
Occasional Contributor

Re: Getting "The window was destroyed during method execution" error in TestExecute on win

Hi @Shehnaz 

Hi There, 

 

I have exactly the same issue too.

I have a Chrome test that works perfectly on 2 W7 machines and returns error msg "window was destroyed during method execution " with a W Server 2016.

I have to fix. @BenoitB  Asks you to try with Aliases , I have done it and it's the same issue.

 

In my situation , the distroyed object is somthing like that :

 

Aliases.browser.pageMyWebSite.panelContent.textnode.Click()

 

then I change with : 


Sys.Browser("chrome").Page("https://MyWebSite/").Panel("content").Header(0).Panel("zone_connexion_deconnexion").Panel(0).Link(0).TextNode(1).Click()

 

> same behaviour, I'm wondering why ?

 

(Hey salut benoit, c'est cool de se retrouver ici 🙂 ! )

(Hey benoit, cool to see you back here ! )

Highlighted
Community Leader

Re: Getting "The window was destroyed during method execution" error in TestExecute on win

I think this is time to call the Support team because you are able to reproduce systematically the problem.

Just one question, if you test any other web page like a page in google or yahoo, do you have same problem, working on W7 and not on WS16 ?

 

Bah c'est le lieu ou l'on cause ici ;^)

Un sourire et ça repart

Highlighted
Occasional Contributor

Re: Getting "The window was destroyed during method execution" error in TestExecute on win

Good Idea @BenoitB , I 'll made a lab tests with the Smartbear website..

Then find others similar topics in the community...

and then... A least open a support case with the lab example easy to reproduce.

 

It looks like not to be a time-out matter, I add a 30sec delay  objets still unreachable.

Any other idea @tristaanogre  ?

I thought it was a bad settings with Chrome Smartbear Add-On but exaclty the same settings with the one W7

I thought it was also again an SSL settings with Chrome ,....  but not...

Yes because, I just cant access to my website from Chrome just before this new issue,.. and now it seems to bo ok with SSL in chrome, I import a Cert.PFK file and it looks good.

Any other idea ?

Highlighted
Community Manager

Re: Getting "The window was destroyed during method execution" error in TestExecute on win

 @Shehnaz , @Nikolayev which version of TestComplete are you using? I found a support case with a similar issue and it was solved by updating to TestComplete 14.4.


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
Occasional Contributor

Re: Getting "The window was destroyed during method execution" error in TestExecute on win

Hi @sonya_m ,

TC Version is 14.30.743.7 x64.  

Same player shoot again !  ^^

 

I tried to reproduce with the smartbear web site and then open a case as suggested by

@BenoitB   ....  But can't open a Case, because everything works fine with SmartBear Website

 

No more ideas came to me for the moments.

If I have one, I'll let you now...

 

Regards,

Nico

 

 

 

Highlighted
Community Manager

Re: Getting "The window was destroyed during method execution" error in TestExecute on win

Hi @Nikolayev , maybe you could consider updating first? I see that you are using not the latest version.

If this doesn't help, contacting support would be the best next step.


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!

Retrieve Data from a Web Page

Participate!
Top Kudoed Authors