Verification of PDF file using QTP 10
Iam working on Web application.We have an option called User Guide in our application.If i click on that link a PDF file will get opened.I need to verify whether the file is opened or not.
Iam unable to spy the PDF file(which is opened in IE8) its detected as Window....
Iam unable to create PDF object as well since i have only Active X component.
Iam using QTP 10 and Acrobat Reader 8.0.
Can anyone help me in this please.
Re: Verification of PDF file using QTP 10
if you have to only verify if the PDF is opened or not then you can try the below if you know the name of the PDF eventhough it is identified as window.
vPDFName = "Name of the PDF" & "*.*"
Msgbox window("text:=" & vPDFName).Exist