Click here to Skip to main content
15,612,441 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:

I am trying to write a test to compare the content of a PDF document to multiple PDF docs.. I am an automation student and working on a solution to compare the details of a PDF document to multiple PDF documents. A typical scenario would be as follows.

I have the solution to download and open PDF documents

My question -->> For a given reference Number that has 10 PDF documents

For the 1st PDF document open, read and save the text "codeproject"

Open the 2nd PDF document and check if it has "codeproject"

Open the next PDF doc and check if has "codeproject" By checking the details from pdf 1st and 2nd. 

** Results**

If "codeproject" is matched in any of the pdf documents the test has FAILED Else it has PASSED

Please any ideas on how to kick start this project is greatly appreciated.

What I have tried:

I have the solution to download and open PDF documents
Updated 28-Jan-21 21:06pm

1 solution

See: GitHub - draftable/compare-api-node-client: Node.js client library for the Draftable document comparison API[^]
It makes use of the Draftable API which is paid, but free for development and testing.

And this might also be an option: compare-pdf[^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900