Hi,
Coded UI Test does not support PDF directly. We have a possible workaround: getting the contents of a PDF file through PDF libraries and verifying the text through string comparison. You can search PDF libraries online. In order
to implement such workaround, you need have a mount of programming basics first.
There are all kinds of ideas discussed in the following threads with the same requirement:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/a40ddac3-749a-47e6-9e1f-641f8bcd9b77/can-i-automate-pdf-reports-using-coded-ui?forum=vstest
https://social.msdn.microsoft.com/Forums/en-US/84c71c62-8cda-4d8c-b2c7-d9b44941e69e/pdf-validation-by-coded-ui?forum=vsautotest
Thanks,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.