automation

How to make Error List window automatically active during compilation in visual studio?

Hi How to make Error List window automatically active during compilation in visual studio instead of default Output window? ...

Automated Web UI Testing

What are the good automated web UI testing tools? I want to be able to use it in the .Net world - but it doesn't have to written in .net. Features such as a record mode, integration into build process\ continuous integration would be nice. Im going to look at: Watir Selenium Are there any others I should look at? ...

Excel automation - Select all active cells

I have an app where I put a lot of data into an Excel Worksheet. Once I'm done, I would like to select all the cells from the top left to the bottom right where I have put data in. E.g. say I put data into A1, A2, A3, B1, B2, B3, C1, C2, C3 (a 3x3 grid). How can I select just this grid (and not the entire sheet). I guess by saying someth...

Source text contains simple HTML. How can I simply format the text in MS Word?

I've inherited a project that stores basic HTML formatting (i.e. - <b>, <i> tags) in a database and writes it out to a Word document. This is my first Word automation assignment, so be gentle! Currently, there is a complicated function that runs after the document is complete that searches and replaces these tags. However, as this is ...

headless internet browser?

I would like to do the following. Log into a website, click a couple of specific links, then click a download link. I'd like to run this as either a scheduled task on windows or cron job on Linux. I'm not picky about the language I use, but I'd like this to run with out putting a browser window up on the screen if possible. ...

Automate interaction with a GUI interface

I am interested in writing a script that can automatically operate a program in Windows XP. I figure that I can use something like AutoHotkey to do the clicking. The obstacle I am encountering is that I need the script to be able to interpret information from the GUI interface of the program. There are only a few possible things that ...

API/Framework to generate Visual Studio solutions/projects

Hi, Does anyone know of anything other than the Visual Studio automation API to use for generating Visual Studio Solutions and/or project files? The project files are MSBuild-based, so that should be OK to generate manually if I have to, but the solution files are based on a proprietary textual format. TIA, --larsw ...

How to store captured DOM events in C#

DOM events in WebBrower control (local instance of IE) can be captured by HtmlElementEventHandler, that are attached to HTML DOM Document Object after DocumentCompleted event is fired. How to store event that was fired, so that it could be invoked with InvokeMember() at later time. I am assuming that unique or pseudo unique tags and me...

Automated Development of Presentation with Interactivity

I am trying to identify the right tool, language, software package, or other for the automated development of presentations, where the presentation is user interactive. The presentation will consist of images with titles and some descriptive text. Most of the time there will be 35–70 images. I would like to show each image on a separate...

Unable to access Excel's Application.ComAddIns property if there are no AddIns installed

This code snipped for the Windows Scripting Host displays the number of COM-AddIns currently installed into Excel. It works fine except for when there are no COM-AddIns installed. I believe it should output a "0", but instead it raises an exception (code 800A03EC). Does anyone know why? test.vbs Set objExcel = CreateObject("Excel.App...

Running UI automation tests on build server

We use UI Automation and Nunit to create tests UI tests for WPF application. We've created tests that work fine when you run them from a local machine. Those tests never run successfully on our build server (using TeamCity). Build always hang after opening application window. But if I am logged in (remote desktop), on our build server al...

Word Automation: Detect if page break is necessary?

Hi, I am working on a project in C# that will produce a Word document using the Word Automation API. I would like to insert page breaks at specific points in the generated document and I am currently doing this successfully with the following code: // Generate page break object pageBreak = WdBreakType.wdPageBreak; wordApp.Selection.In...

SharePoint - Posting and Retrieving files Automatically via VBScript

Hello All, I'm going to need to push and pull files from a SharePoint site that is not hosted by my company (it is external). I'm only going to get a few days (if that) to get this working so I don't have much time to experiment. To add to my requirements/headaches, I'm going to have to implement this with VBScript. .Net would be pref...

Call Routine in Access Module From .Net?

I am having trouble automating Access 2007 from .Net, either VB or C#. All I want to do is call a subroutine in an Access module from .Net. Ultimately, I have to make it work in VB, but I've been trying both with the same results. Below is the code in my VB test form. It results in the error: System.Runtime.InteropServices.COMExceptio...

How to automate development environment setup?

Every time a new developer joins to the team, or the computer a developer using changes, developer needs to do lots of work to setup the local development environmentto make the current project working. As a SCRUM team we are trying to automate everything including deployment and tests so what I am asking is: is there a tool or a practic...

How to use webbrowser control DocumentCompleted event in C# ?

Before starting writing this question, i was trying to solve following // 1. navigate to page // 2. wait until page is downloaded // 3. read and write some data from/to iframe // 4. submit (post) form The problem was, that if a iframe exists on a web page, DocumentCompleted event would get fired more then once (after each document ha...

.NET webbrowser control automation

I'm trying to automate some stuff on a flash game running in a webbrowser control in my C# program. Using user32's sendmessage dll I've been able to click at coordinates on regular pages such as google but it doesn't work on flash content. Any ways I can do this? Also it cannot be detectable to the flash game. I have a working one in au...

Generate SubSonic migration code from existing db?

In Rob Conery's post about SubSonic Migrations written in October 2007 he mentions in the 'Left To Do' list that: I want to be able to “Reverse Engineer” an existing DB into a migration file I am looking at introducing versioning control for an existing database with a lot tables, and SubSonic looks like the tool for me, but I'...

Plot (image) comparision tool for test automation?

IS there any open source tool available for plot comparison ...

Automating diff3 conflict resolution

I have three files with SQL INSERT statements, local base_ie_common_ancestor other. diff3 refuses to merge local base other without conflicts since local deletes last line while other appends more stuff after last line. Why is this a conflict? Delete the last line since base and other don't have it, append the rest from other since l...