Enable transaction and run the test cases when the application is idle