This is a repository for IT-Challenge developed with Python, rpaframework.
- Automate Scrap the IT-Dashboard
- It will scrap agencies with amount and save it into the Excel file
- It will open one of the agency and will scrap the Individual Investments into another excel file.
- It will check in the Individual Investments table that if the UII contains link it will open that link and download the PDF file associated with Download Business Case PDF button into output folder
- Can be test on robocorp
- All downloaded PDF's and Excel sheets will be land in output folder
- It will read the downloaded PDF files and get the Section A from each PDF then it will compare the values "Name of this Investment" with the column "Investment Title", and the value "Unique Investment Identifier (UII)" with the column "UII"
- Goto robocorp create a bot
- Add this repo link in public GIT
- Goto assistants and add new assistant linked with robot that you had registered above.
- Download and install desktop app of robocorp assistant from there by click on Download Robocorp Assistant App
- Run the assistant you had created above
- Bot will start performing the task as mentioned above
- Your output data will be saved in output folder. click on output when task finished.
Keyword | Description |
---|---|
URL | URL of the it-dashboard website |
DOWNLOAD_DIR | Download directory name |
AGENCY_EXCEL_NAME | Excel file name for agencies |
INVESTMENT_EXCEL_NAME | Excel file name for investment table data. |
KEYWORD | Button name to click on home page so agencies can be visible |
OPEN_AGENCY | Number for which agency you wan to scrap the agency investment table, and download the PDF's |
It will initialize the ITDashboard from it_dashboard.py instance and call the required functions to perform the challenge.
- Have the logic to scrap and create the Excel file for agencies and Investment table,
- Get the uii links and download the PDF's associated with it.
- Read PDF's and compare with "Name of this Investment" with the column "Investment Title", and the value "Unique Investment Identifier (UII)" with the column "UII".
Having configuration to set up the environment and rpaframework dependencies.
Having configuration for robocorp to run the conda.yaml and execute the task.py
You can find more details and a full explanation of the code on Robocorp documentation