cancel
Showing results for 
Search instead for 
Did you mean: 

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! 

1 ACCEPTED SOLUTION

Accepted Solutions
Marsha_R
Community Hero

Re: IE processes dont terminate

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

View solution in original post

4 REPLIES 4
Marsha_R
Community Hero

Re: IE processes dont terminate

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

View solution in original post

claudiaborges
Occasional Contributor

Re: IE processes dont terminate

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

AlexKaras
Community Hero

Re: IE processes dont terminate

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

Re: IE processes dont terminate

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

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