1
1
How can I automate copying records from an Excel file or CSV and interacting with a browser?
Example Task:
- Extract or Copy record(s) from an Excel file row
- Go to a URL (probably using Google Chrome)
- Put that data that was copied from the Excel file to the form of the page
- Run some scripts or press some bookmarklets I prepared inside the browser (Google Chrome)
- Save or Done!
- Go to next record/row of the Excel or CSV file.
I like the built-in Automator of Mac but I am not sure if it's capable of what I am asking to do. One complicated task that I see is looping the records from the Excel file or CSV.
For example, after a task is done, going to the next record and repeat the task.
That looks like a Rube Goldberg solution — what kind of scripts would that be? If those aren't too complicated you can probably submit a form through command line, which would be much easier. – slhck – 2012-08-01T08:29:16.053
I prepared some bookmarklet done in javascript also interacting with the DOM elements. eg, override dates or submit form etc. If it can interact with the browser, like it can click my bookmarklet, then it's good. – Pennf0lio – 2012-08-01T08:34:13.437
my main functionality I am looking for is, go thru my excel file. get the records, go to a url, interact with the form (fill form and submit etc), and interact with my browser, click some bookmarklets. – Pennf0lio – 2012-08-01T08:35:54.060
Certainly doable, but probably hell of a job since you will be automating a lot. I'll see if I have the time to check it out, but at that point, just for making things easier, trying (or buying) UIBrowser would be an idea worth considering I guess ;)
– slhck – 2012-08-01T08:42:55.963