I also had a similar problem...
The scenario is when i start IE and then open QTP, QTP recognizes the explorer as Window
But if i open QTP first and then open IE, it recognizes as Browser...
So restarting QTP might solve the problem. So my suggestion is to use driver script and include the impersonation level in driver script
- open QTP using driver script.. then Open IE as user A
- perform actions, close IE using QTP and store the results in Excel and close QTP using driver script
- Perform impersonation in driver script and open QTP and then IE.
- perform actions
hope this solves the problem and thanks for sharing the impersonation doc.. it was good to learn something new!!!