automation

Automated web form submission

Do you know any good methodologies/tools/scripts/approaches for automated web form submission? The form I want to operate on is NOT in my possession. That is, on any given website that's the action I'd like to perform. Example: On http://autos.yahoo.com/ the script would choose certain value in "Make" combo box, then in "Model" combo bo...

How to Set mouse cursor position to a specified point on screen in C#?

How to Set mouse cursor position to a specified point on screen in C#? am i must hacke the motherboard buffer that receive the mouse and keyboard coordinates and presses ??? is there another one to do clicks or i am imagine ??? ...

How do I write a script to ssh to a computer from a remote computer?

I frequently need to ssh into a server, but I can't ssh into it directly while I'm connected to our VPN. Thus, I have to ssh into another server and ssh into it from there. Is there any way that I can write a script and/or shell function for this? I've tried this, buit it gave me an error: % ssh jason@server2 'ssh jason@server1' jaso...

C# Not all keyboard events are being replayed correctly

I'm writing a tool for validation engineers to log session interaction when attempting to reproduce failure. It creates a video of the desktop, and I'm hooking the keyboard and mouse in C#, to record their interaction with the OS. The events are serialized out to a file to be read in at a later time. I use SendInput to replay the mouse ...

Find out programmatically if a process is demanding user input

How can I programmatically (in C#) determine, if ANOTHER foreign application (native, java, .NET or whatever...) is currently demanding user input? Can this be done fully in Managed code? What I'm looking for is the implementation of: static Boolean IsWaitingForUserInput(String processName) { ??? } By demanding user input I mean ...

Create CSS sprites based on colour?

I have a large set of thumbnails I wish to display on a page (over 200). I'd like to use CSS sprites to load them to minimise the HTTP requests. I think putting all of them in one massive file is a bad idea, but splitting them into about 6 files of 40-50 thumbnails should work nicely. All of the thumbnails are fairly low colour (can be ...

UI Testing Tool?

Looking for a tool to UI testing of a Windows (.NET WinForms) application. The idea is that the analysts will record the tests via some UI and it will be able to be played back over and over again. Commercial tools are fine but bonus points for free ones. ...

OSX Equivalent of WinSCP's Fully-Automated Local-Remote SFTP Sync?

Hello, I fondly remember working with WinSCP and using the fully automated local-to-remote syncing functionality, where the app would monitor a directory hierarchy and send changes to the remote server as they happened. Is there an app available on OSX that accomplishes the same thing? I haven't really been able to find anything. When I...

How do I recover a document that has been sent through the character encoding wringer?

Until recently, my blog used mismatched character encoding settings for PHP and MySQL. I have since fixed the underlying problem, but I still have a ton of text that is filled with garbage. For instance, ï has become ï. Is there software that can use pattern recognition and statistics to automatically discover broken text and fix it? ...

a language for semantic analysis ?

hello gurus, background: - there are formal languages for expressing programming language valid lexicon and syntax - such representations (e.g. regular expression and context-free grammars) can be automatically compiled into lexicon/syntax analyzers for some programming language using some tools (e.g. LEX and YACC) questions: - are the...

Automate Photomerge in Photoshop for multiple panoramas unattended

I am creating panoramas using my DSLR camera and Photoshop to stitch them together. I am doing 360-degree cylindrical projections. Photoshop is brilliant at automaticaly stitching them together using PhotoMerge, but given that I have a large number of panoramas to create (hundreds) and one photo-session usually brings in about 30 of them...

How can we automate iPhone app testing

How can we automate iPhone app testing ...

php automating login and form submission Tutorial(s)

Looking into doing some PHP script automation, Need something that will login to a system, enter some values, submit a form and return a success/failed message. Don't know if this is a factor but the website is heavy on AJAX as well. Looking for help in where to get started, maybe some tutorials, code examples, Am I looking at the probl...

MFC Excel Automation with VS2008 Process not closing

I'm automating Excel in Visual Studio 2008 in my 64-bit MFC application. I've added the MFC wrappers and have followed the articles on MSDN on how to implement. Bascically I'm just reading the values of a range. The problem is the Excel process stays loaded in the task manager. Does it have something to do with a 64-bit app running on 64...

Dynamically create WIX files without having to edit the wix files manually

Suppose you release the next version of your software, you will have to manually update your WIX files to remove obsolete files and add new files, etc. My use case is as simple as "recursively add the files under /sample/path in the user target C:\Program Files\MyApp". Is there a program that does this sort of automation? ...

How many cycles are required to validate an automated script

Hi, I have one query. Maybe it is a silly question but still I need the answer to clear my doubts. Testing is evaluating the product or application. We do testing to check whether there are any show stoppers or not, any issues that should not present. We automate (script I am talking about) testcases from the present test cases. Once...

How can I allow users to script an ASP.NET web application?

The web application my organization has written to perform customer care functions doesn't have this ability. I know there are Firefox plugins to automate the browser, but what I'd like to do is provide a framework and facility to manage and execute scripts through our web application. The user would write scripts that checked on commis...

Create Outlook email draft using PowerShell

I'm creating a PowerShell script to automate a process at work. This process requires an email to be filled in and sent to someone else. The email will always roughly follow the same sort of template however it will probably never be the same every time so I want to create an email draft in Outlook and open the email window so the extr...

Auto add to database on last day of month

I have a database which stores the work my staff do. One particular query I run tells me how much money I owe them for the current month (month to date), based on the hours that I have recorded for them. However, I would like to store this information into a table itself, for various reasons, not least to record whether I have actually...

Why is my code slower using #import "progid:typelib" than using "MFC Class From TypeLib"?

I am writing an automation client in Visual C++ with MFC. If I right-click on my solution » Add » Class, I have the option to select MFC Class From TypeLib. Selecting this option generates source/header files for all interfaces. This allows me to write code such as: #include "CApplication.h" #include "CDocument.h" // ... connect to ...