HP QTP: How to perform validation on pdf opened in IE
Greetings, I would like to know if there is a way to perform validation for pdf that is opened by IE. I have tried checkpoints, QTP recognize it as activeX WinObject but unable to perform validation. Please advice.
Re: HP QTP: How to perform validation on pdf opened in IE
By using 11.52 you will be able to check the text content of PDF document, but you need get the PDF ready for test first. If it is opened by IE, you have to first save the pdf on your local drive. And then use the saving path in the pdf checkpoint for the compared document location.
If so, another question is how to save that if the pdf will only be recognized as on ActiveX object. My solution is mouse movement command, since pdf format itself is not a defined object in QTP by now, you have to use the common action like mouse and keyboard which don't rely on any object type.