automation

How can I fill in web forms with Perl?

I want to fill in a web form with Perl. I am having trouble finding out the correct syntax to accomplish this. As in, how do I go to the URL, select the form, fill in the form, and then press enter to be sure it has been submitted? Any examples would be great. Thanks. ...

C# to fill out InfoPath Form programmatically?

Is it possible to fill out an infopath form and submit it via a C# console application? If yes, then how? ...

How to fail tests by default if a dialog appears in watin

Whenever a dialog appears and there is no attached handler, watin auto closes the dialog. This is helpful when you don't want to add code for different/several simple confirmations the application might have. The issue is that using this default behavior can cause simple issues to go unnoticed, like a confirmation dialog appearing in t...

Automatic testing of web sites from a user's point of view?

Are there tools available that will simulate going to a web site, clicking links, filling in forms, submitting those forms, all the while comparing output to expected output until it finds a problem? ...

Word automation on the server

We have a requirement that our web app will do a mail merge and generate some Word documents. Of course this is very easy to do using Word automation but is not recommended by Microsoft http://support.microsoft.com/kb/257757. "Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications ...

Don't make me manually abort a LaTeX compile when there's an error.

As suggested here, latexmk is a handy way to continually compile your document whenever the source changes. But often when you're working on a document you'll end up with errors and then latex will panic and wait for user input before continuing. That can get very annoying, especially recently when I hacked up something to compile late...

Automatic Webpage Data Entry based on The Page Content

Is it possible to make a program that open a page (as if a bookmark file were opened by IE), and based on its content generate a feedback, that should be fedback in a textbox on said page by pressing a button on said page? I need this program to execute on a set time schedule to feed some data to a web server based on time dependent web...

Visual Studio - Intercept and change path on creation for solutions and projects

I'm working on an automated process to build a base application to include common libraries and projects, check everything into source control and setup the base build for the solution. Most of the issues I've solved except one. Is it possible to intercept the user given path for the solution and projects and alter that path? In other...

using bulk insert to automatically populate sql table, then export to xml

Hi there, I'm doing a project at the moment which involves using bulk insert to fill an sql table with weather data. BULK INSERT TableWeather FROM 'C:\Program Files\EasyWeather\EasyWeather.dat' WITH (FIELDTERMINATOR = ',') This seems to work fine but I need to do this every fifteen minutes and also actually...

Close MS Office C# Console

Hey Everyone.. I'm writing an automated test to determine whether or not rtf files are successfully opened by MS Word. So far I looping through all the rtfs within a given directory and opening them. Later I will have to catch exceptions to generate a report (log the file name that crashed word). I am processing a large number of files...

Using Ant to ensure a properties file only contains unique entries

Is there a way in Ant which can check that a specified properties file only contains unique keys? A build failure would be the required behaviour if any duplicates are found. ...

Using Process.Start to print documents without showing Word

Hi All I am using the following code to print a word document from a C# app. ProcessStartInfo info = new ProcessStartInfo(myDocumentsPath); info.Verb = "Print"; info.CreateNoWindow = true; info.WindowStyle = ProcessWindowStyle.Hidden; Process.Start(info); This works fine Wor...

Open Word Documents using Interop DLL without opening Word?

Hello Everyone, I have written an automated test which loops through a large volume of Word Documents and opens them individually in a single Word instance. My question is.. can I perform the OpenDocument() without an ApplicationClass instance? What I would like to do is run my test without having a visible instance of Word open. Possi...

Excel Automation question - how to just say No

I'm working on a vb.net console app that opens a number of spreadsheets one by one, reads in a couple cells and closes the file. Some of the spreadsheets have formulas that Excel recalculates when I open the file, and I'm getting a dialog box asking me if I want to save changes to the spreadsheet when I close it. Message: "Do you wan...

Automated GUI testing of legacy non-MFC application?

We have a system that was originally developed decades ago and has increased in code base over the years. This is a fairly major system, with configuration that our department maintains (the vendor does not allow us access to the source or underlying database). The client software is a proprietry developed application which is basically ...

Is there a command line option like devenv.exe /Edit for Sql Server Management Studio

I'm using visual studio's external tools to open .sql scripts in Sql Server Management Studio (SSMS). The problem is, each time I use the external tools command to open a .sql file from visual studio, it opens a new instance of SSMS. Visual Studio has a switch /Edit that will do this, is there one for SQL Server Management Studio? ...

How do I start the sphinx daemon automatically when my rails application loads?

I am aware of the command to start the sphinx daemon manually. I use a rake task: "rake thinking_sphinx:start" Is it possible to have it start whenever my rails application loads so I don't have to manually type in the command every time? ...

How to automate a Siebel GUI?

I'm looking for a way to automate a Siebel Retail 8.1 GUI (High Interactivity) for functional tests. The only option I found so far is using QTP from HP, which is quite expensive. Do you know any alternatives, or do you have any experiences with QTP? ...

How to automate Photoshop?

I am trying to automate the process of scanning/cropping photos in Photoshop. I need to scan 3 photos at a time, then use Photoshop's Crop and Straighten Photos command, which creates 3 separate images. After that I'd like to save each of the newly created images as a PNG. I looked at the JSX scripts and they seem to a lot of promise. ...

Automation in FTPing and file extraction

Hi, A third party source daily FTPs a zip file (which contains xml file) in a given folder on my application server. Right now, am manually FTPing the sender, download the zip file and extract xml out of it. If i need to achieve all this programmatically using C#, how do I go about it? ie.I need to.... 1.FTP the sender 2.Download the f...