QTP 11 not recognizing pdf (523 Views)
Reply
aj1
Occasional Contributor
aj1
Posts: 4
Registered: ‎05-14-2012
Message 1 of 2 (523 Views)

QTP 11 not recognizing pdf

Need Help!

 

I am using QTP 11. I have the following statements in my script:

 

Browser("Residential Facility Tracker").Dialog("File Download").WinButton("Open").Click
wait(5)

rc = Window("Adobe Reader").WinObject("AVPageView").Check (CheckPoint("AVPageView"))

 

Everytime I run the script for the first time, I get the following error. I do not get the error for subsequent runs. I do not understand why it is happening that way? getting the Error one time and not getting it at other times.

 

Cannot find the "AVPageView" object's parent "Adobe Reader" (class Window). Verify that parent properties match an object currently displayed in your application.
Line (44): "rc = Window("Adobe Reader").WinObject("AVPageView").Check (CheckPoint("AVPageView"))".

 

Please use plain text.
Advisor
kmp7
Posts: 11
Registered: ‎05-07-2012
Message 2 of 2 (517 Views)

Re: QTP 11 not recognizing pdf

These kind of issues generally can be fixed by uninstalling and installing the addin. if that doesn't help then uninsall and install QTP.

Please use plain text.
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