Won't Fix
Last Updated: 20 Dec 2016 09:37 by ADMIN
ADMIN
Elena
Created on: 31 Aug 2016 13:19
Type: Feature Request
1
Find.AllByType hangs a custom WPF application using the MS Excel Wpf XLL Addin
Environment:

use the TestFramework with MS Excel Wpf XLL Addin

the Excel process is successfully attached like:

Manager.Current.ConnectToApplication(excelProc);

an open WpfWindow can be easily accessed like:

wpfWindows.First().Window.Close()

But the command "wpfWindow.Find.AllByType<Button>()" causes the test hanging with the following exception:

Die UnitTestProject1.TelerikXUnit2.TestSparks-Testmethode hat eine Ausnahme ausgelöst: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
0 comments