Forum Discussion

jgoetz's avatar
jgoetz
Occasional Contributor
9 years ago

Way to clear all Internet Explorer memory within a script?

I am having an issue where while running scripts/keywordtests on our web based application, the iexplore memory is building up until TestComplete can no longer "find" the internet explorer window even though it is there, open and active.  Once I close down Internet Explorer completely and reopen it, the application and navigate back to the point it stopped, it works fine.  While monitor memory useage while running the scripts, IE (iexplore) increase to a million plus kilobytes. 

 

What I am wondering is does anyone know how to clear the memory within a keywordtest or vb script without actually closing the internet explorer window?  I am trying to find a work around, which doesn't involve manual input. 

2 Replies