Hello! If anyone is willing to guide/help me, it is much appreciated! I am tasked to compare the table from a Windows accounting software with a CSV file. I was able to do it up until the part where I have to compare it. This is because of a few problems:
The CSV’s header at row 8 instead of 1. Whereas the data starts at row 9.
The window that is showcasing the table cannot be maximised or anything of the sorts so I can’t use Data Scraping and get the full table.
What I want to achieve:
FOR DEBIT (loop)
(cvs) find sender name, look at deposit
(accounting app) find description, then to debit
IF CAN LOCATE = tick MARK (accounting app), write YES
ELSE IF CANNOT LOCATE = write NO
FOR CREDIT (loop)
same thing but find withdrawal instead of deposit and credit instead of debit
THUS, is it possible to:
Data Scrape whole table in accounting software.
Compare Data Table from CSV File with Data Table from accounting software.
Checking each row, if found data in both, write “True” in CSV at the end of row and tick the checkbox in accounting software.
Else (cannot locate the row of CSV Data Table in Data Table of accounting software), write “False” in CSV.
Please help if possible! It seems I’m stuck on how to do it! I’m doing an internship and this is to automate bank reconciliation statement of the company I’m working at.
1.Are you able to view the table? the i don’t think there will be an issue with scraping. Or if data scraping doesn’t work use table column and row values fetch the desired values for comparison
2.use lookup range activity to get the cell index and use write cell activity to write in appropriate cell
When I use Data Scraping on the default view, it only shows those rows. When I use it after I have scrolled the table (to see the remaining rows), in this case it only shows those 3 rows.
If I am to do as you suggested, how would I do that? Can you give an example?
Can I use Excel’s Activities for CSV? As far as I’m aware you can’t use it unless I got it all wrong. I have to strictly use CSV files.
so you are able to detect the elements in this pop up using ui explorer so if you see the attributes in ui explorer you can see tableCol and TableRow…You can use a for or while loop to loop through each of the elements by incrementing these 2 attributes
you can convert csv to excel and use excel activities
Hi @supermanPunch !
I will be trying that and get back to you. I’ve never used Find Children and I don’t know where to start so it might take awhile until I can show you I’ve gotten results. If you think you can point me in the right direction, I’ll appreciate it a lot!
Yes, it is dynamic! It changes depending on the bank transactions done that month.
You would Require to use UiExplorer for efficient Configuration. The UiExplorer should be available in the Design Ribbon.
Maybe Try Following the Below Steps :
Use Find Children Activity, Indicate one of the rows.
From the Properties of Find Children Activity, Click on Edit Selector → Open In UiExplorer.
UiExplorer is Opened. If The Element isn’t validated yet, Click on Indicate Element and indicate the row element again.
Now, In UiExplorer, the Visual Tree should appear somewhat like below. Meaning there is a Top Element under which the Sub Elements would be Present. We would need to Select the Top Element as Highlighted, it might not be the same Tag.
Next, After Selecting the Top Element, Save the Selector which should be modified in the Find Children Selector Property as well. Create the Output for Find Children Activity.
Next, Execute and Check if the Count of the Find Children result is the same as that of the Rows Present in Application.
This is all just to Confirm whether we are able to retrieve all row elements.
the Grouping is where the table headers are.
In this scenario, does this mean the Top Element would be Table View 1?
I used Write Line to check it it but it didn’t list out on Output, might be my own fault. But I think it doesn’t work because when I counted manually, there are 11 rows but my UI Explorer only saw 10.