06-25-2008, 09:11 PM
Hi,
I'm using QTP 9.5 with the web-plugin.
As I am running my script, browsing a web-page and downloading a file, the browser-object of QTP does not respond any more.
After letting QTP close the "Save-As"-Dialog of the Internet Explorer 6, I would like to go on browsing on the web page.
It works, if I click on any link on my own and then let QTP go on with its work.
My code is:
But after clicking on Close (2. line), the browser will not do anything (does not execute last line). It even does not report any error! When I click on the link on my own, the script goes on, clicking on the link as described in the last line.
Do you have any idea how to fix this problem?
Thanks in advance!
I'm using QTP 9.5 with the web-plugin.
As I am running my script, browsing a web-page and downloading a file, the browser-object of QTP does not respond any more.
After letting QTP close the "Save-As"-Dialog of the Internet Explorer 6, I would like to go on browsing on the web page.
It works, if I click on any link on my own and then let QTP go on with its work.
My code is:
Code:
Dialog("Download complete").Activate
Dialog("Download complete").WinButton("Close").Click
Browser("Browser").Page("Page").Frame("TOC").Link("Advanced Search").Click
But after clicking on Close (2. line), the browser will not do anything (does not execute last line). It even does not report any error! When I click on the link on my own, the script goes on, clicking on the link as described in the last line.
Do you have any idea how to fix this problem?
Thanks in advance!