Error at file location but not sure and also unable to find selector option in use application as we find in attach window in classic!

Error at file location but not sure and also unable to find selector option in use application as we find in attach window in classic!!!
Trying to retrieve some data from sample invoice files in folder but cant indicate in selector like invoice* instead of



single files like invoice(1) o(2)…

@Sai_Kumar_111

Hi can you try with

Read pdf text activities ,for extracting data

Why to use use application activity

Can you check the path of the file which your are placed in the for each loop

Cheers

please do check this!!!

@Sai_Kumar_111

Can you check the files
By placing a log message after assign activity

Like

Pdfs(0)

In the for each file activity no need to place pdfs.tostring place just pdfs

Cheers

Done as you mentioned but getting the same error Shiva…and prompting like…

@Sai_Kumar_111
No place in the for each activity as
pdfs only

Take a log message above for each file activity

In that log message place like below

Pdfs(0)

You shouldn’t be using UI automation to open a PDF and try to use selectors to get data. There are PDF activities you can use to get data out of them.

@Sai_Kumar_111

The problem is you are sending filepaths…you need to send folderpath which you are giving in directory.getfiles…you dont need to do that step when you use for each file in folder

Cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.