Re: Problem with WebFile Object with IE 8 (284 Views)
Occasional Contributor
Posts: 2
Registered: ‎03-31-2011
Message 1 of 2 (288 Views)

Problem with WebFile Object with IE 8


I have a script which interacts with  a WebFile object which works fine with IE 6, but against IE 8 after the Open button is clicked to close the WebFile dialog, the scripts runs very slow, taking over a minute to execute each line.


Has anyone else come across this, and even better a solution..?  We're using QTP 10 with patch QTP_000626.


This is the code


'  Click the Add Attachment button
  Browser("Name").Page("Create").WebFile("Add Attachment").Click

  wait 1
  Browser("Name").Dialog("Choose file").WinEdit("Attachment File name").Set AttachmentPath
  Browser("Name").Dialog("Choose file").WinButton("Open").Click


With IE 8, the script becomes very slow after Open is clicked.   Against IE 6 the same script runs fine..




Honored Contributor
Posts: 4,368
Registered: ‎09-09-2010
Message 2 of 2 (284 Views)

Re: Problem with WebFile Object with IE 8

You will have better luck getting answers to QTP questions in the forum specifically for QTP, vs. the News forum for Quality Management.

[If this post solves or helps solve your issue, mark the thread as solved and give KUDOS to the author for their assistance.]

(Opinions expressed in my postings are mine alone, and do not reflect the opinions of my employer.No warranties express or implied for any solution/suggestion posted.)
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.