automation

Documenting applications - automation / semi-automation for screenshots?

For me one of the biggest bores of being a developer is writing user documentation. (I am referring to the stuff that gets exported into PDF files files that ship with the product, not comments in code here). The task off adding or updating new bits of text to the existing documentation is OK. However having to take screenshots of selec...

How to extract content from other websites automatically?

I want to extract a specific data from the website from its pages... I dont want to get all the contents of a specific page but i need only some portion (may be data only inside a table or content_div) and i want to do it repeatedly along all the pages of the website.. How can i do that? ...

UI automation cross-platform (Windows and Mac OS X) open source APIs/frameworks?

Does anyone know of any UI automation cross-platform (Windows and Mac OS X) open source APIs/frameworks available for automating external GUI applications from inside a separate application programmatically? Through searching, I've found a couple commercial cross-platform UI automation products, but obviously they wouldn't allow embeddi...

Is there a browser-agnostic way to detect client-side script errors with Watin?

We're using WatiN to test our web portals. During the course of an E2E test, we'll occasionally see client-side script errors on the IE status bar. I'd like to chain a handler onto the script error event and record the error for later analysis and bug filing. Problem is, I don't know that there's a global script error event or how to ...

What's the Matlab equivalent of NULL, when it's calling COM/ActiveX methods?

Hi, I maintain a program which can be automated via COM. Generally customers use VBS to do their scripting, but we have a couple of customers who use Matlab's ActiveX support and are having trouble calling COM object methods with a NULL parameter. They've asked how they do this in Matlab - and I've been scouring Mathworks' COM/ActiveX...

Can we automate Application available under Citrix Program Neighbourhood?

I tried to automate an application available under Citrixl Program Neightbourhood using QTP 9.5, but QTP does not identify the objects inside the application. Can we automate citrix application using QTP? What are different tools available to perform automation testing on Citrix applications? ...

Automating Word to insert an image from a URL

Hello, from Automation in jscript how can I programatically insert an image into Word (2000+) from a URL? The url also is quite long, around 400 characters, and I've read that Word 2007 has a problem sometimes with strings longer than 255 characters. I've used this successfully except that it won't allow urls longer than 255 character...

Create new c# project files from code

I'm currently working on an application that will generate actual .cs and .xaml code files and add them to a project. I've managed to do this by manually editing an existing .csproj file and thats working well. However I would like to be able to create the project files from my application as well, to cut out the extra step of creating...

Is it possible to create a system that will receive SMS messages with a location in the title and automatically transfer that information into Google Maps?

I'm looking at building a simple app based around location. Obviously given that lots of people don't have access to smartphones etc, I'm trying to figure out a way to allow them to text in their address/location details to an automated system that will locate them on Google Maps. Is this possible? And if it is possible, is it possible t...

How do you run a command line program (like lame or svn) with PHP?

Specifically, I need to automate the encoding of audio files into mp3 with LAME. You don't need to know LAME to answer this, I could be talking about svn or some other program.. I know how to use LAME on the command line to do this, for one file at a time. I would like to do this via a php script however, so I can convert a bunch at o...

MS Word ActiveX control - is it possible to access open documents?

Hi, I can use the MS Word ActiveX control in order to access some parameters related to the MS Word application itself. I can also open up new documents and then perform automation on those documents. Is it also possible to access documents that were already open on my machine and then perform actions on them? The code I'm using is th...

C# usage in COM heavy application

I would like to use C# for an application I'm building, but the application makes heavy use of automation (i.e. Excel, Word). Is it feasible to use C# for such an application? It used to be a nightmare to use C type languages for things like parameter lists with null arguments etc.. What are some tips to make things easier or should I...

Automating Firefox and Chrome browsers

I am looking for a way to automate couple of browsers... Firefox and Chrome (for now on just Windows) from an external application/process. Is there a way to do things along these lines: 1. Start the browser with a URL 2. Have the browser load up the page, run script etc. 3. Inspect the DOM For reference, IE can be automated using the ...

UnauthorizedAccessException While Attempting to Change File Permissions

I trying to modify permissions programmatically using a C# windows service that is running under an administrator's account in windows XP. Another program is saving and modifying files on the local file system, in way that, after that program touches something, only the "SYSTEM" account, there after, may access it (unless I manually ch...

Unit testing - when multiple projects all have their own set of App_Config files

Here's the situation: I've got a solution with multiple unit testing projects, each targeting a specific assembly in the application. These unit test projects require a set of App_Config* files in order to execute (i.e. connectionStrings.config, appSettings.config, etc). When I run the tests from within VS.NET using TD.NET or ReSharper,...

Build automation for Delphi + Oracle

Hi all, at my work we are presently looking for a automated build tool. We have googled quite a bit, but there are so many possibilities we are not sure which tool is the best option, to be honest. We are not even sure there is one that fits our needs. It should have as many as possible from following features: Integration with Subv...

Creating a select dropdown from a .txt?

I've a select menu hardcoded in a wordpress (php) theme, but the manager requires to edit those frequently. Is it possible to populate the select dropdown options from a text file import? So he just has to edit the text file and the menu options would change. The current menu looks like this: <select name="location" id="sort-location" ...

Can I configure an MSI to install silently to a non-default directory?

I have a vendor supplied MSI file, and we want to automate the install to a couple thousand pcs/servers. Unfortunately, we would like to install it to our default apps directory, which is not c:\program files. Is there a way to do this easily? I'm experimenting with Orca, but I'd rather get a solid method on how to do this quickly and e...

Copying and pasting between two separate programs using Automator in Mac OS X

Ok, so I have an excel spreadsheet that contains data that I would like to copy directly into an SQLite db using Menial Base, a db editor. I have tried a number of different methods such as trying to convert from .csv and .txt extensions, and nothing is working the way I need it to, so I am now resorting to Automator. From what I underst...

Automated browsing with javascript?

I'm trying to do some browser automation, but I'm having some problems. Basically, what I'd like to do is load a set pages, set some forms options, click a button and view the results for each page that I open. Originally, I tried to do this by placing the pages I wanted to automate in iframes and then using javascript to drive the inter...