automation

Changing IE Standards/Quirks mode at run time with an instance of InternetExplorer.Application

A similar question has been addressed with WebBrowser Control however I'd like to ask how to directly manipulate document modes with a VBS initialized/controlled instance of InternetExplorer.Application - or how to apply the registry fix in the above mentioned post to this scenario. Currently I'm employing a rather poor solution of simu...

div width relative to content

Hi, Is there a way to dynamically set a div width / make the width relative to the content - using jQuery? It has to be with a numerical value because otherwise, it doesn't work with the horizontal website layout I'm dealing with... The div will only contains images with a defined width values. Thanks. ...

WebKit .Net RaiseEvent/Click equivalent

I'm experimenting with the WebKit .Net component in an application. Usually with the standard WebBrowser component I can select an element by id and then raise an event on it using the RaiseEvent method or, for clicks, simply use the Click method. However, I can't seem to find similar functionality in the WebKit browser - how should I go...

accessoryButton with Instruments automation

Hi, I'm writing some automation .js file, and I need to tap one of my accessoryButton from one cell. How can I send the tap message to it ? This is a custom cell, but the accessoryButton is added by iOS, not by me, and I don't know wich name it has. Also in the docs I couldn't find anything ... I have the cell referenced correcly as...

Office 2010 server side automation in a Windows HPC Server 2008 R2 Environment

I am aware of of the infamous Considerations for server-side Automation of Office from Microsoft and it clearly lists products from the 2010 suite. However, today I was made to believe by an IT ops techie that Office 2010 does not suffer from the issues mentioned in that article and can be used without issues within a server environment...

Instruments automation: iterate for all buttons

Hi, I'm in the process of automate one of my apps. First I tap on a tabBar =>ok Tap on a 'Add' button of a navigation bar => ok Fill some data of my textFields of my tableView => ok Tap on some cell and open a new ViewController => ok Tap on a 'Add' button in this new controller => nothing happens ... The button is the same as the...

Automation testing tools for Oracle Forms app?

I'm looking for toolset recommendations to automate testing of an Oracle Forms application, with the tests (ideally) to be driven from Cucumber. I believe this is normal/unavoidable in apps based on Oracle Forms, but I'll spell it out anyway; the way the application works from an end-user perspective is: User connects via a browser, b...

How do I programmatically insert, or edit, a pie chart in a Word 2007 document, using vs 2010, c#?

I need to programmatically insert, or edit, a pie chart in a Word 2007 document, using vs 2010, c# ... everything i have found shows how to put these old ugly charts into a word doc. so i am now wondering if it is even possible to manipulate the newer and better looking charts. this one shows how to do just what i want, only it's th...

Determine which Unit Tests to Run Based on Diffs

Does anyone know of a tool that can help determine which unit tests should be run based on the diffs from a commit? For example, assume a developer commits something that only changes one line of code. Now, assume that I have 1000 unit tests, with code coverage data for each unit test (or maybe just for each test suite). It is unlikel...

Automation for JSP Multilingualization

An existing set of JSPs, hard-coded with English field labels, javascript error/info messages, image 'alt' message etc. needs to be multilingualized. What would be the best way to go about converting these JSPs to use the standard Java Multilingual features (resource bundles, locales etc)? ...

Microsoft.Office.Interop.Excel having "bad value" as default parameters

I'm trying to use Microsoft.Office.Interop.Excel. It seems to load fine but when I try to use it, all the defaults parameters are not working. Here is a screenshot that shows all those bad values Whenever I try to ommit them, the compiler tells me that the function needs more than 1 parameter. This function is Open as in : Micros...

Windows powershell script triggered by PSExec is not killing Powershell process when it finishes running

I need to complete a series of tasks across several Windows 2008 servers that need elevated permissions and as such I've had to create a series of scheduled tasks that i'm running via psexec. Since they have to run in sequence, I found and modified a powershell script that 'stalls' until scheduled tasks are completed on remote machines. ...

WPF Recursive call to Automation Peer API is not valid

I am receiving an error message "Recursive call to Automation Peer API is not valid" when loading a datagrid with a datatemplatecolumn containing a combobox column. The error ends up caught in our unhandled exception code. This seems to be an issue on my machine, and google has provided no source of guidance on resolving the issue. The i...

Tools to speed the generation of locale files (for rails)

I'm involved in preparing a pre-existing rails application for translation - going through the files under app/views/, finding the text, making a key in config/locales/de.yml (in this case), copying the text into de.yml, and putting t("key") in the view file. Repeat hundreds, maybe thousands of times. This is very tedious. I don't think...

Is it possible to automate Silverlight with PowerShell?

It is possible to automate Silverlight with PowerShell? I want to control Silverlight, press buttons etc. Like automation with the IExplorer: $ie = New-Object -ComObject InternetExplorer.Application $ie.Navigate("http://www.stackoverflow.com") $ie.Document.getElementById("ButtonID")|foreach{ $_.Click() } ...

Word automation does only work for administrator, or with a delay after creating word.application

We have a program made in Borland Delphi that uses Word automation to create documents. On an installation (terminal server) we are only able to get the Word automation to work when running as local administrator. When runnnig as anoter user we get an error message "Opdracht mislukt -2146824090" (its dutch version of Office), wich I gues...

Can I set the ErrorCheckingObjects in Excel per worksheet?

I am generating a CSV file which I then open in Excel via OLE Automation. Because of the format of the data, Excel shows many "Inconsistent Formula" warnings (a green icon in corner of each cell). I can turn this off application-wide via automation, using: objExcel.ErrorCheckingOptions.InconsistentFormula = false But doing so updates...

Auto minify Javascript/CSS files after update?

I know of ways to minify JS and CSS files but is there a way to auto-minify these files in the production system? For instance, I modify something inside the original JS files and update the production environment. However, while using the JS files, it should use an auto-minified version of the JS file (preferably update the current mini...

Is it possible to write a script that checks a set of ebay listings for their status?

Hi, So, I have some ebay listings, and I need to check which ones sold, which ones are still up for sale, which ones need to be re-listed, etc. I've been doing it manually, and it is really tedious and time-wasting. I would like to write a simple script to check it for me. I have never written such a script. I'm thinking maybe I need ...

Strange automation? error in Word2007

Hello all! I'm pulling my hair out because I've run into the following problem with one of my clients: My program uses extensive VBA automation in Word. Macros are saved in a specific Word template that is attached to each document. Some of the macros save the current document to a temporary folder under [User]/AppData/Roaming/... for ...