Completed
Last Updated: 26 Feb 2014 14:41 by ADMIN
ADMIN
Boyan Boev
Created on: 20 Nov 2013 11:52
Type: Bug Report
0
Testing Framework cannot connect to a WPF application which is launched via LaunchNewApplication(ProcessStartInfo)
If the UserName and Password are set in the ProcessStartInfo Telerik Testing Framework is not able to connect to the application. It seems that it is connected, however it cannot recognize any of the application's windows.
1 comment
ADMIN
Daniel Djambov
Posted on: 26 Feb 2014 14:41
Telerik: Unfortunately this is out of our control. We are using the SetWindowsHookEx function(http://msdn.microsoft.com/en-us/library/windows/desktop/ms644990(v=vs.85).aspx) for dll injection, so we can monitor the events and communicate with the window. Unfortunately this doesn't work for applications on the desktop running as a different users, with different rights or running as a restricted version of yourself.
 See the links below for more information and other restrictions:
 http://nsylvain.blogspot.com/2008_01_01_archive.html
 http://stackoverflow.com/questions/9165666/setwindowshookex-for-wh-journalrecord-fails-under-vista-windows-7/9170182#9170182