Donate to Remove ads

Got a credit card? use our Credit Card & Finance Calculators

Thanks to Wasron,jfgw,Rhyd6,eyeball08,Wondergirly, for Donating to support the site

Automation software

Seek assistance with all types of tech. - computer, phone, TV, heating controls etc.
StepOne
Lemon Slice
Posts: 669
Joined: November 4th, 2016, 9:17 am
Has thanked: 195 times
Been thanked: 186 times

Automation software

#133275

Postby StepOne » April 19th, 2018, 2:18 pm

Hi,

I'm looking for a piece of software to automate manual tasks. It would need to be able to log in to a webpage and download a list of information into Excel. I then want to step through each entry in that list, extracting more detailed information from the website. I would need to be able to direct the software to enter information into a text box on the webpage, click a 'Select' or 'Data' button on the webpage, then copy information on the resulting page to the clipboard, and paste into the excel sheet. I might also have to 'look' for text on a page - e.g. find where it says 'Weather' and then click the button immediately below it. That sort of thing.

I've used things like this in the past for software testing, and I guess that some of these test tools would do the job, but it's really not test tools that we are after.

Robotask comes up with a few of the searched, and it looks like it might do the job, but I wanted to ask on here if anyone has any personal experience or recommendations.

Thanks,
StepOne

johnhemming
Lemon Quarter
Posts: 3858
Joined: November 8th, 2016, 7:13 pm
Has thanked: 9 times
Been thanked: 609 times

Re: Automation software

#133311

Postby johnhemming » April 19th, 2018, 4:45 pm

Selenium might do the job. It is testing software. I looked at it a while ago (over a year) and it seemed quite flexible.

uspaul666
2 Lemon pips
Posts: 233
Joined: November 4th, 2016, 6:35 am
Has thanked: 196 times
Been thanked: 112 times

Re: Automation software

#133312

Postby uspaul666 » April 19th, 2018, 4:53 pm

Selenium would definately be able to do that and recently started offering a “headless” mode that means the process can run on a server without a display screen. Apache poi would be able to handle the excel spreadsheet. But someone’s going to have to learn java or python which isn’t necessarily trivial.

UncleEbenezer
The full Lemon
Posts: 10813
Joined: November 4th, 2016, 8:17 pm
Has thanked: 1471 times
Been thanked: 3005 times

Re: Automation software

#133321

Postby UncleEbenezer » April 19th, 2018, 5:29 pm

You have two options for that kind of automation. Find a tool that does it, or script it yourself.

I strongly recommend the latter. Once you've scripted one or two such tasks, every future one is essentially 'free'. That is to say, you can do it much quicker and easier than finding another tool for the next task, and then figuring out how to work with it. And no cost - ever. A general-purpose scripting language has easy library functions for everything: in your case, you'd be looking for an http-client (to fetch and interact with a web page), an HTML parser (to extract data), and an excel API, or maybe simple export-as-CSV.

Never heard of "selenium". I'd be suspicious of anything too packaged: it may solve this problem, but I'd expect it to have just as much learning curve as (say) Perl or Python, and leave you needing to go through all the seeking and learning next time you have a different task to automate.

pochisoldi
Lemon Slice
Posts: 943
Joined: November 4th, 2016, 11:33 am
Has thanked: 32 times
Been thanked: 462 times

Re: Automation software

#133324

Postby pochisoldi » April 19th, 2018, 5:36 pm

StepOne wrote:Hi,

I'm looking for a piece of software to automate manual tasks. It would need to be able to log in to a webpage and download a list of information into Excel. I then want to step through each entry in that list, extracting more detailed information from the website. I would need to be able to direct the software to enter information into a text box on the webpage, click a 'Select' or 'Data' button on the webpage, then copy information on the resulting page to the clipboard, and paste into the excel sheet. I might also have to 'look' for text on a page - e.g. find where it says 'Weather' and then click the button immediately below it. That sort of thing.

I've used things like this in the past for software testing, and I guess that some of these test tools would do the job, but it's really not test tools that we are after.

Robotask comes up with a few of the searched, and it looks like it might do the job, but I wanted to ask on here if anyone has any personal experience or recommendations.

Thanks,
StepOne


Cygwin with the appropriate scripting support, and support for cron would be able to do that in the background dumping the output to .csv or text file which could be read or imported into an Excel sheet.
Bad news is that you'd have to create it for yourself using your favorite scripting language (e.g. Perl, python, php etc).

PochiSoldi

servodude
Lemon Half
Posts: 8411
Joined: November 8th, 2016, 5:56 am
Has thanked: 4486 times
Been thanked: 3619 times

Re: Automation software

#133394

Postby servodude » April 20th, 2018, 6:42 am

I use python
- more precisely splinter (https://pypi.org/project/splinter/) which wraps up selenium in python
- a quick read at the splinter tutorial can give you an idea of what you can do (https://splinter.readthedocs.io/en/latest/tutorial.html)

On windows I installed python via anaconda (https://www.anaconda.com/download/) which also includes the Spyder IDE (which i find bearable)
- then once I have a script I drop it in the windows task scheduler

It's worth a look:
- there's a little bit of learning curve
- but a lot of power and a large community

have fun
- sd

Wmnr
Posts: 42
Joined: November 6th, 2016, 8:36 am
Been thanked: 9 times

Re: Automation software

#133396

Postby Wmnr » April 20th, 2018, 6:51 am

I've used Autoit in the past. Runs on Windows and it's free

StepOne
Lemon Slice
Posts: 669
Joined: November 4th, 2016, 9:17 am
Has thanked: 195 times
Been thanked: 186 times

Re: Automation software

#133490

Postby StepOne » April 20th, 2018, 12:32 pm

Thanks for all the replies.

We are going to go down the 'develop it yourself' route. I have done similar stuff before with Excel VBA in the early days of data scraping on the Motley Fool, so it should be do-able. Will look into the Python/Selenium thing though - looks interesting...

Cheers,
StepOne

scotia
Lemon Quarter
Posts: 3568
Joined: November 4th, 2016, 8:43 pm
Has thanked: 2376 times
Been thanked: 1948 times

Re: Automation software

#133653

Postby scotia » April 20th, 2018, 9:30 pm

I have done similar stuff before with Excel VBA in the early days of data scraping on the Motley Fool,

I was going to suggest VBA. My choice would probably be Access (with VBA) to gather, process and store intermediate data, and to construct the desired Spreadsheet output.

eepee
Lemon Slice
Posts: 281
Joined: April 11th, 2017, 5:27 pm
Has thanked: 50 times
Been thanked: 83 times

Re: Automation software

#133785

Postby eepee » April 21st, 2018, 6:46 pm

Your first task must be to find out if you can scrape the data!

Copy and transfer out, from the page of interest, manually and see if you end up with the informaion you want.

Some sites - especially the ones that supply an API for extracting information, can make data scraping virtually impossible.

If you want to see what I mean, try it on an event on Betfair.

Regards,
ep


Return to “Technology - Computers, TV, Phones etc.”

Who is online

Users browsing this forum: No registered users and 28 guests