Reading CheckBox in editable PDF

uiautomation
pdf
activities

#1

Hi Team,

Is there any activity which can be used to determine the state(checked/Unchecked) of a checkbox in an editable pdf file.
The pdf file is such that UIPath is getting only one selected for the whole document as if it is an image.
I have already tried OCR (Google and Microsoft) they are not able to detect chkbox even at 5 Scale.
Below is an image of the checkboxes.

image


#2

Hi @shivaraman,

You could try to follow the steps below:

  1. Open the excel file with Excel Application Scope activity
  2. Check which option is enabled with Find image matches activity
  3. Grab the element besides this image by changing the Region

I couldn’t test it, however I believe it gives you an idea from where to start.

Main.xaml (12.4 KB)


#3

Hi,
I tried this approach with an editable PDF but it doesn’t work. Checked or not checked it marks the find image as true. editable_pdf.pdf (64.2 KB)

Can you please help with a workflow for this random sample editable PDF?


#4

Have you found a solution for this?

Best regards


#5

I think this was resolved sometime back.


#6

Could someone please explain the solution in detail? or if there is some sample?