Forum Discussion
Solved
tristaanogre
7 years agoEsteemed Contributor
So, it crashes on launch? Is that what you're saying? If that's the case, then no, I'm not experiencing that problem.
Something you need to make sure of... IE sometimes tends to hang around in process memory after it has been closed. When you close a browser instance, you should make sure all copies of the process have been closed as well. I've experienced situations where, if I didn't do this, a number of strange problems would happen.
The following code is what I use to ensure this
function closeIEInstance() { var counter = 0; var browser; browser = Sys.WaitBrowser('iexplore', 1000); while((browser.Exists) && (counter < 60)){ counter++; browser.Terminate(); browser = Sys.WaitBrowser('iexplore', 1000); } }
TanyaYatskovska
Alumni
7 years ago- nimishbhuta7 years agoFrequent Contributor
Sorry for responding late. Yes Robert suggestion has helped me to resolve this issue. For closing, the browser, we need to use .terminate rather than close. Once I made this small change, IE is not crashing anymore.
Thanks Robert....
Regards,
Nimish