Unified Functional Testing Practitioners Forum
cancel

QTP 11 not recognizing pdf

Highlighted
aj1
Contributor.

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

 

1 REPLY
kmp7
Valued Contributor.

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.