I'm scripting an application that opens an SSRS report in a 2nd browser window.

When I try to close the 2nd window using the statement below, QTP hangs for a couple of minutes but it eventually closes the 2nd window.

Here's the statement I'm using to close the 2nd window:


Does anyone know why QTP would hang for that long? Is it timing out and if so can the timeout value be shortened?

Thanks in advance.