How to compare two PDF files (result: equal or different)

Hello,

I am trying to compare two PDF files, but it has been a challenge.

I’ve pursued these attempts:

  1. Using “Read PDF text”, to compare the text of both files, but leaves out the radio buttons and check boxes, which are also necessary for this exercise. I’ve tried using the “Find image matches”, followed by a “For Each” activity, but don’t really know how to follow-up on this.

image

  1. Tried using the “Find Image” followed by a “Set clipping image”, but could not find a way to determine an output of the “Set clipping image” activity.

  2. Tried using the “Find image” followed by a “Take screenshot”, but when I use a “Save Image” activity to make the image is correct, it gives an error “Object reference not set to an instance of an object” in the “Save image” activity.

Is there a way to solve this or another easier path to pursue? Apart from Read PDF with OCR?

Thanks a lot!
M