Hi!
I used storetext to get a web table’s data into a csv… the problem is it prints all the data into what would be 1 single cell instead of actually printing each td between commas or tabs so excel or drive understand it as a table and not as a "print everything in A1.
I cannot share with you the url because it is password protected, but here is the script:
It seem you are using a wrong locator that extracts the complete table at once. You can do this, but then you need to separate (split) the data yourself.
Usually, if you want to extract data from a table (“Table scraping”) you do this cell by cell. Then you need one storeText command per cell. Usually you can solve this with a loop by increasing a certain number in the storeText XPath locator of the cell, and in this way loop over all cells of a certain row. Then you increase another parameter, and you jump to the next row.
Example: The Table Capture extension has a neat feature where it places inline links into the page that allow you to copy the table content in TAB separated TSV format to the clipboard or even directly push it to Google Sheets (see the screenshot below). In the paid pro version it also supports the CSV format.
How to automate the table capture sequence with the RPA software:
Load the page with the table(s) (OPEN command)
XClick on the extension icon to activate the extension
In the now open table capture extension, xclick on the “Inline…” button
Now UI Vision can simply click on the “Copy to clipboard” button that the extension inserted into the page
Optional: If you need the table data inside the RPA software for further processing, you can get it with the ${!clipboard} internal variable