1

I have a requirement to compare the images in the PDF file to the font end of the web application. I am using the Selenium Web Driver and I have tried to compare with PDFBox but it won't read the images. Is there any way to achieve this? please suggest

asked May 4, 2017 at 21:34
2
  • Please delete your comment and put the key information into a new answer. Old comments are periodically deleted, where answers are not. Commented May 5, 2017 at 15:48
  • Can you clarify the requirement? Do you need to test that the data in the PDF is the same as the website? Is this some sort of form? Do you have access to the code which is generating the PDF? Commented May 11, 2017 at 17:03

2 Answers 2

1

Selenium can not do this out of the box, but you can combine it with Sikuli. Or you use a web testing software with built-in PDF testing support.

answered May 6, 2017 at 9:25
0

With Selenium, you can take a screenshot.

You can try to create a PDF file with the same structure as you the one you have, and compare both.

answered May 5, 2017 at 14:35

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.