-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtasks.robot
More file actions
executable file
·27 lines (22 loc) · 907 Bytes
/
tasks.robot
File metadata and controls
executable file
·27 lines (22 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
*** Settings ***
Documentation Processes PDF invoices with Amazon Textract.
... Saves the extracted invoice data in an Excel file.
Resource invoices.resource
*** Tasks ***
Process PDF invoices with Amazon Textract
[Setup] Initialize Amazon Clients
${job_ids}= Create List
${filenames}= Get File Keys From Amazon S3 Bucket
FOR ${filename} IN @{filenames}
${job_id}= Process PDF with Amazon Textract ${filename}
Append To List ${job_ids} ${job_id}
END
${invoices}= Wait For PDF Processing Results ${job_ids}
Save Invoices To Excel ${invoices}
[Teardown] Delete Files From Amazon S3 Bucket
Create Invoices
[Setup] Initialize Amazon Clients
Create Invoices
Delete Files From Amazon S3 Bucket
[Setup] Initialize Amazon Clients
Delete Files From Amazon S3 Bucket