I keep getting the following error when I attempt to run my script:
Ranorex.ElementNotFoundException: No element found for path '/form[@controlname='frmMain']' within 10s.
The calling code is below:
System.Diagnostics.Process.Start("C:\\Temp\\TransReport.exe");
Delay.Milliseconds(10000);
Ranorex.Form TransReport = "/form[@controlname='frmMain']";
When I use Ranorex Spy, the form I want to find is successfully highlighted using the xPath as above.
This is happening with version 2.2.1.7599