Unified Functional Testing Practitioners Forum

QTP 11 not recognizing pdf

Occasional Advisor

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


Super Collector

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.

//Add this to "OnDomLoad" event