Signature validation on PDF file

hi Everyone, working on a solution where i need to validate the digital signature in a pdf file, where i am not able to spy the signature from pdf in UiPath it takes entire pdf(Inner area), so i tried a solution where i am able to focus on pdf by clicking on pageview-> Fit to Hight button, i am giving some delay to settle down the pdf. then giving the tab send key so that focus can come on signature stamp, and then hitting enter to open that digital signature popup, so that i can follow the further steps on it. the challenge is now in most of the invoices enter button not making impact even if i try manual as well. looking for some suggestion and help here. sharing the screen shot for the example

@Nipendra_Dhiman

First if you are on adobe then few settinga might allow you to indicate

Cheers

UI automation (ie clicking around in Acrobat) isn’t the right way to do this. You should be using Document Understanding or PDF activities to read the PDF.

Hi @Nipendra_Dhiman

Try using UiPath PDF activities to extract and validate the digital signature instead of UI automation. If the signature is not selectable, use Computer Vision or Anchor Base to detect it. You can also try OCR like Tesseract or OmniPage to extract signature details. If manual interaction is needed, check if “Send Window Messages” or “Simulate Click” works instead of the Enter key. Consider third-party libraries like iTextSharp or Adobe API for signature validation. If the issue persists, take help from the UiPath Support Team.

Try using OCR within Try Catch scope

Take a screenshot where the signature is expected
Use OCR for extracting the text
If any value available - Signature is there
If any error and went to catch block with no text details - Signature not found

@Nipendra_Dhiman You can utilize the “Read PDF with OCR” activity to extract the data as a string and then apply a Regex Builder to isolate and extract the desired portion from that string.