automation

Deploying WCF application

I have IIS-Hosted WCF application and services. I want to automate the process to deploy this application into test/Acceptance test/production environments What is the best way to automate the process and make it very easy to the system administrators? assuming that the web site / (or virtual directory) is already there and I don't have ...

Should I use SQLite for automatically build a list of banned IPs of comment spammers?

I am using a simple yet effective anti-spam system at a comments module which seems to be working flawlessly for more than a year now. Since it is capable of recognizing automated comment spam attempts, I am thinking of extending this security module with an ability of adding the offender IPs to a blacklist automatically. Do you think ...

Read Items from Control in another Application

I have an MDI application for which I do not have source for. I believe it is an MFC application. I need to automate some of it's functionality. It has a form with a listview type control on it. I would like to be able to read that list from my new C# application to know what the items are so I can select the correct one. I have tried ...

Automating tables from web page using C# & MSHTML

I am new in MSHTML autopmation and wish to automate a page which has table in it. The requirement is to check the check box available in the first column of the table. The problem is; in runtime I need to send the row Number whose check box needs to be selected. In short, through my function I would be passing parameter as 10 i.e. 10th ...

MFC Automation how to implement RemoveDocument OnCloseDocument

I have an MFC MDI Application and I am trying to implement Automation with it. I am trying to create a RemoveDocument. How is that done? OnCloseDocument is causing problems. Is there a "standard" for doing that? ...

problem with Excel automation function

hi folks, i´m programming a vsto add-in combined with an automation add-in in VB.NET using MS Visual Studio 2008. The automation add-in is activated in excel and registered at the system. basically the automation add-in running very well, when you call the function with "=<function-name>(<argument1>;<argument2>;...;<argument-n>)" by w...

What is the easiest way to automate Excel tasks

If I need to automate a series a task on an excel sheet like remove all rows where column 3 contains value "asdf" remove column 7 and column 9 sort according to column 4 etc. What is the easiest way of automating such tasks in excel? I think it would recording a macro but sometimes macro have to be edited a lot to actually make th...

Browser Automation and Cross Site Scripting

I'm trying to write some web-based automation. The sites I'm hitting aren't on the same domain as my automation, so cross-site scripting issues make it impossible to access the DOM on the target website. I don't want to use a proxy or deal with proxifying the target websites (like Selenium does, for example). Cross-platform is a nice ...

How can I programmatically create PowerPoint presentations. On Linux. For Free.

I'd like to create a PowerPoint (not Javascript/HTML/PDF/Keynote/.mov) using code (any language, C preferred) for free. (I've seen this SO question which references how to create them in C#) Is this even possible? How can I write the raw bits that make up a PowerPoint file? Any good libraries for doing this? UPDATE The Microsoft Refer...

Creating an autologin program with Python

I don't know what the objects name is because I don't have the source code for it but I want to code something in Python to have it login to an application for me. Basically I want it to start the program which is this import subprocess subprocess.call(['C:\Program Files\PATH\program.exe']) But than I want it to click on the login b...

Delphi OpenOffice automation scalc center cell text

Hello could someone please help me with the following: I want to center the text in a scalc open office spreadsheet cell via Delphi and the OOoTools toolkit. The following code does not work: sRange := '$A$3:$A$3'; ooParams := CreateUnoStruct('com.sun.star.beans.PropertyValue', 1); ooParams[0].Name := 'ToPoint'; ooParams[0].Value := s...

Getting a collection of every IFRAME on a web page

Hello and thanks for taking the time to read my question! I am currently trying to automate some basic functionality in internet explorer for a few cases where the currently employed method does not work. To do this i am (due to the knowledge of the people i work with) creating some VBScript that uses the IE automation object. I set o...

Boo - Excel Automation, trouble selecting ranges

Hi All, I'm investigating Boo and thought it would be a useful exercise to try converting a couple of venerable VB Scripts that automate Excel (2007, in this instance). A lot of things seem to translate very easily, however I'm having a huge amount of trouble selecting ranges - whenever I try to get or set them I get a TargetInvocationE...

How do I get the scroll position from Microsoft Word

I want to position an image on the page the user is looking at, however I cannot find how to get the currently visible page/scroll in pixels. Anybody know which object and property could give me that? ...

Watij Replacement

Does anyone know of a good replacement to Watij which will allow automated tests to be written in Java? It looks like the Watij library isn't being developed anymore. ...

Home automation using Arduino / XMPP client for Arduino

I am trying to setup a system for automating certain tasks in my home. I am thinking of a solution wherein a server side application would be able to send/receive commands/data to Arduino (attached with Arduino Ethernet Shield) via the web. Here the Arduino may both act as a sensor interface to the server application or command execut...

Is it possible to automate a ClickOnce deployment ?

I work on a project consisting of a server and a client application deployed via ClickOnce. The client is installed the first time an user clicks a http://...file.application link, and the interaction with the user during installation are minimal (just the standard ClickOnce install/don't install dialog box). One of our client wants to...

What are good test automation frameworks?

I am looking for a tool to integrate many different types of automation and test frameworks in order to automate fully end-to-end scenarios for testing. For example, a typical workflow might be: Install an Operating System (Ghost, etc..) Configure the operating system (open firewall exceptions, setup users, etc..) Install Software (Vis...

.NET StandardInput Sending Modifiers

We have some legacy software which depends on sending keystrokes to a DOS window and then scraping the screen. I am trying to re-create the software by redirecting the input and output streams of the process directly to my application. This part I have managed fine using: _Process = new Process(); { _Process.StartInfo.FileName = APP...

Setting write permissions on godaddy hosting.

I have godaddy asp.net hosting. Every time I upload the build, it’s a manual laborious task of setting write permissions(to folders) through the web interface. Is this something I can automate? Are there any nant /script tasks with which can do this? ...