Control another application using C#

Have you looked at White TestStack?

Sample code:

Application application = Application.Launch("foo.exe");
Window window = application.GetWindow("bar", InitializeOption.NoCache);

Button button = window.Get<Button>("save");
button.Click();

I don’t think it can get better than that. The library is created by ThoughtWorks.

Leave a Comment