Re: QTP 11 not recognizing pdf (614 Views)
Occasional Contributor
Posts: 4
Registered: ‎05-14-2012
Message 1 of 2 (620 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

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"))".


Posts: 11
Registered: ‎05-07-2012
Message 2 of 2 (614 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.

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.