Ask a Question

IE processes dont terminate

SOLVED
claudiaborges
Occasional Contributor

IE processes dont terminate

I want to have a clean up before I start to run a batch of tests. So, I used the code from the documentation to close all the browsers

<--

function Close()
{
while (Sys.WaitBrowser().Exists)
Sys.WaitBrowser().Close();

}

-->

 

I dont use IE but the code hangs on ' waiting iexplore processes to close' 

I have tried the code from TestComplete does not appear to close IE11 correct... - SmartBear Community

and before closing all browsers, close ie. 

I has the same effect, it hangs on '  waiting iexplore processes to close' 

 

Anyone?

 

Thanks! 

4 REPLIES 4
Marsha_R
Community Hero

Did you use @tristaanogre 's exact code from the bottom of that thread?  It's known to work well.


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
claudiaborges
Occasional Contributor

That is exactly what I said. I used it and it and I still have the problem. 

Hi,

 

Can you provide your actual code, screenshot of test log with the error and Details pane and what line of code throws the error?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
claudiaborges
Occasional Contributor

Hi the code I was using is exact what you posted. Somehow it started to work, thank you!!!

cancel
Showing results for 
Search instead for 
Did you mean: