Getting Exception System.MissingMethodException: Method not found: ‘System.Windows.Rect System.Windows.Automation…. in in TestStackWhite Application

I am writing a test method to launch a window application. Below is my code namespace UnitTestProject1 { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() { ProcessStartInfo P = new ProcessStartInfo(“C:\Windows\System32\notepad.exe”); Application app = Application.Launch(P); } } } After running this test a Notepad window opens up and then below exception is thrown…

Details