QTP 9.5 problem with browser - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: QTP 9.5 problem with browser (/Thread-QTP-9-5-problem-with-browser) Pages:
1
2
|
RE: QTP 9.5 problem with browser - idolast - 07-07-2008 Hi Ankur, I played around with the script now. But it is still very strange. After calling the Browser("..").Close-Method, QTP is waiting for a while until the browser is closed (which could mean up to 5 minutes waiting time). If I stop the running of the test during this waiting (right after calling the .close-method!) the test stops (of course ) and the Internet Explorer is closed immediately! So it seems that QTP has some problem here. IE seems to work fine... Now the piece of code: Code: Browser("Browser").Page("Page").Frame("CONTENT").WebEdit("ValueTextField21").Submit This is just the end of the script, but it is definitely the critical part. If I remove the lines from clicking on "save as excel" (which starts the download of an excel file) until the line with Browser.Exist, everything works fine. So the opening of the file-save-dialog somehow distracts QTP... Do you have any idea how this could be solved? |