CHolman
7 years agoOccasional Contributor
Killing IE after a test has run
I've created a series of automated tests using the click and record function of test complete. I've strung my tests together, and after each has run I've created another test 'IEKill', This is another click and record test which basically opens up command prompt and runs the following: taskkill /F /IM iexplore.exe /T
This is supposed to kill and close down all IE processes, but its not working. It'll run, but once the command has been issued, IE remains active. Note: I'm running my tests in a W10 environment, using IE11.
I need a way of killing IE once my automated test has run. I'd assume that test complete focuses into the browser somehow which means when issuing a kill command it cant be killed off .
Any help is appreciated.