Completed
Last Updated: 26 Nov 2015 12:20 by ADMIN
ADMIN
Cody
Created on: 18 Jun 2015 17:58
Type: Bug Report
0
Specific customer WPF app crashes while running test
Customer is experiencing a crash in his WPF application while running a Test Studio test. The attached video shows the crash happening. The stack trace at the end of the video shows that the crash is happening in Test Studio code.

It only seems to happen on Windows 8.1 machine. The crash does not happen on Windows 7 machine.

In the attached .zip file is the WPF application and Test Studio test used by the customer to reproduce the crash.
5 comments
ADMIN
Pavel
Posted on: 26 Nov 2015 12:20
Yes, the fix is in the Telerik Testing Framework.
Makysm
Posted on: 26 Nov 2015 12:02
Pavel, 
Does the latest Telerik Testing Framework contain a fix too?
ADMIN
Pavel
Posted on: 11 Aug 2015 07:02
The issue is resolved and the fix will be available in the next internal build.
Cody
Posted on: 27 Jul 2015 21:54
The application is crashing on the Close Window step. That step is marked Passed by Test Studio. That crashed application causes the next test step to fail. This is the stack trace reported:

System.NullReferenceException was unhandled
  HResult=-2147467261
  Message=Object reference not set to an instance of an object.
  Source=ArtOfTest.WebAii
  StackTrace:
       at ArtOfTest.WebAii.Messaging.Process.BrowserRemoteClient.Disconnect()
       at Telerik.TestingFramework.WpfExtension.WpfCommunication.DisconnectClient(IntPtr clientHwnd)
       at Telerik.TestingFramework.WpfExtension.WpfCommunicationEntryPoint.OnWindowClosed(IntPtr handle)
       at ArtOfTest.Common.Win32.ProcessWindowsWatcher.WinEventCallback(IntPtr hWinEventHook, AccessibleEvents accEvent, IntPtr hwnd, Int32 idObject, Int32 idChild, UInt32 dwEventThread, UInt32 dwmsEventTime)
  InnerException: 
Peter
Posted on: 02 Jul 2015 12:44
This is exactly the stack trace I get when closing windows TicketId 	949630