I have a small shell application that does the following:
1. when user clicks the Test button it loads the application under test.
2. then it searches this application for a particular element using FindSingle function.
3. then it closes the application under test and returns to shell application.
For some reason the ApplicationUnderTest.exe file remains locked together with a bunch of dlls it uses even after the test is completed and the application under test is closed.
The only way to release it is to close my shell application, which I don't want to do.
How do I release my application under test?