automation

Run PHP Script every 5-10 minutes without cron,perl etc..

I know this question is asked about hundred of times, but I want to run a scirpt every 5 minutes on server, I have not any type of administrate privileges to do cron job etc. I am not good php programmer so this question may look strange, but if you understand please tell some solution. Thanks. ...

Setting AssemblyFileVersion with MSBuild-call?

Hello, We have a batch-based buildprocess and we are using MSBuild only for compiling our project-files from visual studio. We also have integrated wix into our build-process. To set the version of our software we specify in the main-build-script some environment variables, that we use during the build-process. My problem is, that i hav...

Automated deployment of mixed SSIS / DLL solution

Hi All, We currently have a solution developed using SSIS / C#. The SSIS package (amongst other things) has a script task that uses logic developed in the class libraries. This functionality needs to remain separate from the SSIS package. Because we are using an SSIS package I understand that the compiled DLL's need to be deployed to ...

is there any way to automatically run a test suite from within Selenium IDE upon opening firefox?

I would like to create a script or a batch file on windows that automatically opens Selenium IDE (plugin) and opens and runs a test file. ...

How to generate application forms/documents programmatically?

At the moment, we use MS WORD and MS EXCEL to mail merge documents that needs to be sent to multiple recepients. For example, say there is a complaint form where the complainant needs to fill in his/her name, address, etc. So we have a .doc file set up with the content and the dynamic entities set up for mail merging, with the name and ...

Get all texts and items of open applications on Windows (UI Automation)

I need a source code to retrieve all Texts and Items (Menu Items, List Items,...) of all open applications... Any idea? ...

Automated Integration and Staging environments for LAMP-based application

What would be a good tool-for-the-job to do automated deployments of LAMP-based applications(MySQL, PHP, Zend Framework) to integration and staging environments? I am looking specifically for tools that handle deployes to remote hosts. I assume building tools such as phing and ant I assume could be used for that, but I was wondering if t...

What are the best practices for testing an application that uses an MSOffice environment?

I have an application that I am testing that writes to Microsoft Office, and Microsoft Excel. I test this application on all windows platforms (winxp -> win7 32 and 64) and I have found numerous cases where I find failures based on my user environment, the most recent of which is that I could not automate the saving of a word document o...

Automating reverse engineer database model with Visio

We develop and maintain our database schema with a custom tool. SQL scripts and runtime files are generated from that tool. However, it does not provide a very good visual representation. Lately I been using Visio to reverse engineer the schema. This is working great so far. But to be able to do this, I need to: create an empty databa...

Getting a list of all churches in a certain state using Python.

Hi, I am pretty good with Python, so pseudo-code will suffice when details are trivial. Please get me started on the task - how do go about crawling the net for the snail mail addresses of churches in my state. Once I have a one liner such as "123 Old West Road #3 Old Lyme City MD 01234", I can probably parse it into City, State, Street,...

How to highlight data ranges in excel using C#?

Hi, I wonder is there a way to replicate insert chart dialog functionality using C#. What I need is to display a Popup window, but more importantly to let the user to select data ranges. I also want ranges highlighted with Excel's colorfull boxes. Here's an image of how excel highlights ranges when inserting a chart. I'd like to be able...

I need a tool to find duplicates or similar blocks of text in a singular text file or set of text files.

I want to automate moving duplicate or similar C code into functions. This must work under Linux. ...

socket pairs, perl, KEEPALIVE, and polling

I've starting using socketpairs on linux and windows in order to capture the output of subprocesses on both platforms. I do this by copying STD* onto one of the sockets in the socketpair (I'm using Win32::SocketPair in perl for socketpair's on windows). The main reason I am doing this is so that read do NOT block on the output file han...

Closing a modal popup from vb.net?

Hi, I want to wait for and close a modal form (a popup) from another application, as soon as it appears. I want to do this from VB.NET, but suggestions in C# should be easily translateable. I can hard-code the modal popup's caption in my app, since it's long and unique. What I want to do is simulate either the user clicking on the close...

Automate Builds in .net

Hi all, I have a solution sln, with 50 projects (vbproj, csproj, and setup project). I need automatize Build of all solution, and projects (set of projects of solution folder), and setup project (vdproj). My vdproj (setup project) has Post Build Event.. First, how can I automatize build for vdproj ?? I only can execute a command for ...

Automatize Publish of Application Web (VS2008)

Hi all, I have a solution sln and several projects (vbproj, csproj). I have web project, and I need automatize Publish (like menu option in VS2008). Can I replicate VS2008 "Publish Web Site" from command line ?? any help about it, please ? Thanks in advanced. Greetings. ...

How can I get the Range of filtered rows using Excel Interop?

I'm using Excel Interop assemblies for my project, if I want to use auto filter with then thats possible using sheet.UsedRange.AutoFilter(1,SheetNames[1],Microsoft.Office.Interop.Excel.XlAutoFilterOperator.xlAnd,oMissing,false) but how can I get the filtered rows ?? can anyone have idea?? ...

How do you write your QTP Tests?

I am experimenting with using QTP for some webapp ui automation testing and I was wondering how people usually write their QTP tests. Do you use the object map, descriptive programming, a combination or some other way all together? Any little code example would be appreciated, Thank you ...

Functional PDF Testing (Automate Testing of PDF Content)

I am working on an application where I am writing some automation framework for testing a web application. I am using Watij / Watin for the framework, but have run into a problem with verifying the PDFs generated have the correct content. I know I can use IText or a native PDF library to load up the PDF, but I am wondering if there is ...

Excel Automation works very slowly!

Hello, On my computer report is generated in about 3-4 seconds, and it was like this on all computers before. But recently on a couple of computers in the office report generating started to take 30-40 seconds. On other computers it is still fast. I tried to reinstall MS Office with no luck. For example, this code takes !!! 3 !!! seco...