The below is my structure of code.
1. Call Login Test Case
2. Book Appointment
3. Call Logout Test Case.
I have added to clear history,. kill IEdriverserver.exe in Test Listeners once each Test case completed.
I expected that once all three activity completed it should clear cookies and histories. But Currently after step 1 (called test executed) it clears the cookies and history so that the subsequent test steps getting failed.
How to use Test listeners when I have multiple call Test case in my original Test case.