automation

How to implement an automatic update detection model

Our software is not ever officially installed on Windows, and currently has an update model like this: Connect to Internet Click an Update Button Connect to server-side program Server-side program creates an md5 hash list of all the files in the server program directory. Client-side program creates an md5 hash list of all the files in ...

Auto run unit test cases in Python

We have a python based web application along with its unit test cases. Our need is to automate the process of running unit test cases. They should run either after every checking OR after every fixed time interval. With minimal effort and time what is best tool that we can use to automate this process. We are using Linux as OS and git as...

Choosing a Windows Automation script language. Autoit vs Autohotkey.

I need to choose a windows automation program. Which one do you recommend? AutoIt, AutoHotkey, others? I have read http://paperlined.org/apps/autohotkey/autoit_and_autohotkey.html , interesting history but without a clear recommendation. Searching on google leaves a winner (around 312k hits for AutoHotkey Windows vs 482k hits for AutoIt...

How do I upload data to Google App Engine periodically?

I'm writing an aggregation application which scrapes data from a couple of web sources and displays that data with a novel interface. The sites from which I'm scraping update every couple of minutes, and I want to make sure the data on my aggregator is up-to-date. What's the best way to periodically submit fresh data to my App Engine ap...

How do I get the scroll position from Microsoft Excel

When using Microsoft office automation I want to insert images into a spreadsheet. How can I determine the current users scroll location? ...

Object Oriented module/definition for networking devices/topology ?

Is there any module/definition available for a class/schema for representing the topology, connection, access details etc of networking devices ? The intent is to use this for automation, and to manage routers/servers as objects rather than as tcl keyed lists/arrays which gets unwieldy. ...

How can I use Autoit to close all javascript alerts and confirmations that may appear?

I am testing in selenium and I have a bunch of stuff that happens on page load. I found out about autoit, and I was thinking that it could handle all javascript dialog issues. I was searching around the web for some autoit script that could handle this... Other options would be helpful as well! I don't necessarily need all the code, b...

Snapping pictures from Windows C# Canon SDK vs PTP or MTP

I am hoping to receive some general guidance on accomplishing a seemingly simple goal. I have a DSLR camera (Canon EOS 50D) and need to write an application that will tell the camera to take a picture. I also need to transfer the picture to the computer and possibly delete it from the camera's storage. A bonus would be to get a live p...

Howto automate documentation of a REST API (Jersey Implementation)

Hey guys, I have written a pretty extensive REST API using Java Jersey (and JAXB). I have also written the documentation using a Wiki, but its been a totally manual process, which is very error-prone, especially when we need to make modifications, people tend to forget to update the wiki. From looking around, most other REST API's are ...

Most efficient way to create reports every 15 minute?

I currently have an ASP Classic script that runs every 15 minutes (via scheduled task). The task is responsibly for opening up Internet Explorer and loading the create report ASP page. Once the page is done loading, I have Javascript at the bottom of the page responsible for closing the IE window. We often run into issues where the scri...

Help with sending number to Excel 2007 from Delphi 2010 as a string.

I'm sending a number to Excel 2007 as a string (Cell.Value := '2,5') using late binding. The actual code is more like: var CellVal: OLEVariant; ... CellVal := FloatToStr(2.5); // Regionally formatted. Cell.Value := CellVal; On my Excel 97 version, this value will be formatted as "General" by default and will be seen as a number. A ...

Automate website log-in and form filling?

I'm trying to log in to a website and save an HTML page automatically (I want to be able to do this on a regular time interval). From the surface, this is a typical modern website where, if the user navigates directly to a "locked" URL, a log-in form pops up, and after logging in, the user is redirected to the intended page. I gave mech...

Reading 200 urls automatically with varying intervals between requests

By calling the example URL below my Java servlet caches one file at a time (with corresponding "filekey"). http://www.example.org/JavaServlet?fileKey=phAwcNAxsdfajsdoj&action=cache Now I have 200 files I'd like to cache ... Instead of calling all these URLs manually I'd like to use fopen, curl or something else to automatically go ...

CGWindowID from AXUIElement

I'm trying to automate a foreign OSX application using the accessibility API. Some of the state of the application isn't available through the API, so I acquire it through screen scraping. To do this, I need to get CGWindowID for an accessibility object with a 'Window Role'. Is there any direct way of acquiring CGWindowID of a 'Window R...

Methods for Automatic User Uploads

Hello all, I realize that this question is slightly server related and could be posted on ServerFault, but I'm more asking about a programming-related way to handle this situation, so please forgive me if it seems a bit server-specific. We currently have a web-based app that is running on Apache/PHP on a Linux server. We use PostgreSQL...

Automating old DOS application using Python

Is there a way to automate an old DOS application (16-bit, probably needs an emulator such as DOSBox) from Python (on Windows)? I would like to send keys and strings to the application, detect updates to the DOS "screen" and get the application output. It would be even better if the DOS application could run "hidden", i.e., not showing ...

Flex Browser Automation

I'm trying to create a Flex application that automates a web browser to perform certain tasks. I would use the application to login to a site, parse data out of the HTML, and send it to a jsp page for processing. I currently have an application written in WPF that does that exact thing, but it needs to be ported to flex. Any known w...

Are there any Tools to Automate Migration from a Website to Amazon Webstore?

Hi guys, we have a current website which shows the product, shopping cart and the whole shebang. and we're trying to migrate to Amazon web store, not the Cloud computing architecture type but the basic html web store method. And based on the tools that i see is available on amazon web store, there seems to be a lot of html editing, exce...

a c# service that login any web page....

hi friends; I just want to do a service that automaticly login a web page in start up because our internet provider has a page and we enter our password to access the internet. it is frequently loged out (I couldn't understand why) I'm bored to rewrite pass many times in a day how can I do? thanks for answers... not: I know windows fo...

Creating a COM Automation Server in C#

I currently have a .NET class library written in C# that exposes its functionaility via COM to a C++ program (pre-.NET). We now want to move the library out-of-process to free up address space in the main application (it is an image-processing application, and large images eat up address space). I remember from my VB6 days that one coul...