I'm launching Windows application which require admin rights via ProcessStartInfo.
ProcessStartInfo app= new ProcessStartInfo(Path.exe);
app.UseShellExecute = true;
app.Verb = "runas";
MainWindow= ApplicationUnderTest.Launch(app);
Launch is working perfectly but controls are not recognized until I run VS as Administrator. How do i run the testmethod successfully without launching VS as Admin?