Can you please explain what could be the reason for data extraction issue in the above sequence.
What is the error you are getting?
Hi
Welcome to uipath community
We need the pdf file to be opened and kept in foreground of the screen for that anchor base activity to work
For that before anchor base activity use a Start process activity and mention the file path of pdf as input to property Filename
Cheers @badruddin
Hi Vishal,
I am not getting any error thats the problem, everything is running smoothly, whatever errors i got i removed that…
HI @badruddin
Are you accessing the files from a folder?
yes, from a folder
So is it working fine
@badruddin
No. i am not getting the desired result that means, When i am running bot scraping is not done properly and data is not exported to Excel from pdf
Fine
will those text appears immediately when the file is opened or we need to scroll up or down to see that text after opening the file
Cheers @badruddin
you mean pdf i think, PDF when i opened the values which i am exporting from pdf are at the top so it always appears at the top of pdf,
Fine then we need to check with the selector
Or
We can try with Screen scrapping method instead of Get Text
Cheers @badruddin
you mean OCR ?
Yah
@badruddin
Hi Palaniyappan,
While using the OCR for PDF data extractions I am facing the below error?
Please help
I am using MICROSOFT OCR
Hi @badruddin
If you are trying to get the specific text from the PDF between two fixed keywords
(Purchase Order No. and Next)
Example:- Purchase Order No. 15 Next
Use below Steps to get the specific text from PDF
-
Read the text from PDF with a “Read PDF” text activity and store it with a variable such as “StrTest”.
-
strTest.Substring(strTest.IndexOf(“Purchase Order No.”)+18,strTest.IndexOf(“Next”)-strTest.IndexOf(“Purchase Order No.”)-18)