Thursday, April 21, 2011 3:58 AM
Assume the test is passed, there is not close application action during testing steps, and [TestCleanup] is not used.
I am not sure is there a setting to control that close tested application or not. I remember the tested application will stay open if there is no close action, I have no idea what I changed to make it happen.
I have checked options under Tools >> Options >> Test Tools >> Test Execution, but did not found related setting.
Thursday, April 21, 2011 6:23 AM
Is your code kept inside using block??
---Mark this post if this Answers or Helps---
Thursday, April 21, 2011 6:45 AMIf you have recorded launch app also in your Coded UI Test it is expected to be closed after test execution. Reason being the call to Dispose during Coded UI Test execution cleanup which will kill the process initiated during test execution. If you have launched app first and the do recording on an existing app, it should not close the app.
- Marked As Answer by Jingjing Hu Friday, April 22, 2011 5:14 AM
Friday, April 22, 2011 6:03 AM
No, Deepak.Singhal got the point. thank you anyway.
Friday, April 22, 2011 6:03 AMThank you!