I'm testing some code another coworker wrote, and it's bombing out in a very exotic way.
Exception during remote setforegroundwindow - System.ComponentModel.Win32Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at BluePrism.ApplicationManager.clsLocalTargetApp.ForceForeground(IntPtr hwnd)
I have had this error before on an 'Activate' action, and it was usually because I had only grabbed a portion of the W32 window and not the entire browser. I have no idea what to even look at on a Focus step.
The element is a text input on the page, highlights fine, and is using AA attributes. At the point this fails, the action has already focused on 7 or 8 other fields with no issues.
Anyone have any thoughts?
-rj