Completed
Last Updated: 11 Jan 2018 14:16 by ADMIN
Martin
Created on: 20 Oct 2017 11:25
Type: Feature Request
0
Bug: 'Telerik.TestingFramework.Interop' The system cannot find the file specified. Exception:
I am getting this exception when opening the step screen. Any fix in the meantime? Ive tried reinstalling the application. This is after i updated to latest release 2017.3.1010.0


{ "utcdate": "2017-10-20 11:01:02,059", "thread": "1", "level": "ERROR", "logger": "Telerik.ApiTesting.Logging.Logger", "code": "(null)", "message": "CurrentDomain.UnhandledException", "exception": " Type: System.Windows.Markup.XamlParseException,Message: Could not load file or assembly 'Telerik.TestingFramework.Interop, PublicKeyToken=8ca00d3e0ebd4b8b' or one of its dependencies. The system cannot find the file specified.,Source: PresentationFramework,TargetSite: System.Object Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri),Data: System.Object: , , StackTrace:    at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri);    at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri);    at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream);    at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator);    at Telerik.ApiTesting.UI.StepExplorer.InitializeComponent();    at Telerik.ApiTesting.UI.StepExplorer..ctor(TestStepModel step);    at Telerik.ApiTesting.MainWindowController.CreateContentControl(IRuntimeItemModel itemModel);    at Telerik.ApiTesting.MainWindowController.OpenItem(Object item);    at Telerik.ApiTesting.MainWindowController.OpenItems(IEnumerable items);    at Telerik.ApiTesting.MainWindowController.CommandExecuted(Object sender, ExecutedRoutedEventArgs e);    at Telerik.ApiTesting.App.CommandExecuted(Object sender, ExecutedRoutedEventArgs e);    at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e);    at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding);    at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute);    at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e);    at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e);    at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target);    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target);    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs);    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised);    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args);    at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted);    at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated);    at System.Windows.Input.RoutedCommand.Execute(Object parameter, IInputElement target);    at Telerik.ApiTesting.UI.TestExplorer.StepsGridRowMouseDoubleClick(Object sender, MouseButtonEventArgs e);    at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget);    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target);    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs);    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised);    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args);    at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e);    at Telerik.Windows.Controls.GridView.GridViewRow.OnMouseDoubleClick(MouseButtonEventArgs e);    at System.Windows.Controls.Control.HandleDoubleClick(Object sender, MouseButtonEventArgs e);    at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget);    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target);    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs);    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised);    at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent);    at System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e);    at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget);    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target);    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs);    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised);    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args);    at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args);    at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted);    at System.Windows.Input.InputManager.ProcessStagingArea();    at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input);    at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport);    at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel);    at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled);    at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled);    at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled);    at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o);    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs);    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler);    at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs);    at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam);    at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg);    at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame);    at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame);    at System.Windows.Application.RunDispatcher(Object ignore);    at System.Windows.Application.RunInternal(Window window);    at System.Windows.Application.Run(Window window);    at Telerik.ApiTesting.App.Main(); Type: System.IO.FileNotFoundException,Message: Could not load file or assembly 'Telerik.TestingFramework.Interop, PublicKeyToken=8ca00d3e0ebd4b8b' or one of its dependencies. The system cannot find the file specified.,Source: mscorlib,TargetSite: System.Reflection.RuntimeAssembly _nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, IntPtr, Boolean, Boolean, Boolean),Data: , StackTrace:    at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks);    at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks);    at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks);    at System.Reflection.Assembly.Load(AssemblyName assemblyRef);    at System.Windows.Baml2006.Baml2006SchemaContext.ResolveAssembly(BamlAssembly bamlAssembly);    at System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlTypeToType(BamlType bamlType);    at System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlType(BamlType bamlType, Int16 typeId);    at System.Windows.Baml2006.Baml2006SchemaContext.GetXamlType(Int16 typeId);    at System.Windows.Baml2006.Baml2006Reader.Process_ElementStart();    at System.Windows.Baml2006.Baml2006Reader.Process_OneBamlRecord();    at System.Windows.Baml2006.Baml2006Reader.Process_BamlRecords();    at System.Windows.Baml2006.Baml2006Reader.Read();    at System.Windows.Markup.WpfXamlLoader.TransformNodes(XamlReader xamlReader, XamlObjectWriter xamlWriter, Boolean onlyLoadOneNode, Boolean skipJournaledProperties, Boolean shouldPassLineNumberInfo, IXamlLineInfo xamlLineInfo, IXamlLineInfoConsumer xamlLineInfoConsumer, XamlContextStack`1 stack, IStyleConnector styleConnector);    at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) "}
System.Windows.Markup.XamlParseException: Could not load file or assembly 'Telerik.TestingFramework.Interop, PublicKeyToken=8ca00d3e0ebd4b8b' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.TestingFramework.Interop, PublicKeyToken=8ca00d3e0ebd4b8b' or one of its dependencies. The system cannot find the file specified.
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   at System.Windows.Baml2006.Baml2006SchemaContext.ResolveAssembly(BamlAssembly bamlAssembly)
   at System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlTypeToType(BamlType bamlType)
   at System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlType(BamlType bamlType, Int16 typeId)
   at System.Windows.Baml2006.Baml2006SchemaContext.GetXamlType(Int16 typeId)
   at System.Windows.Baml2006.Baml2006Reader.Process_ElementStart()
   at System.Windows.Baml2006.Baml2006Reader.Process_OneBamlRecord()
   at System.Windows.Baml2006.Baml2006Reader.Process_BamlRecords()
   at System.Windows.Baml2006.Baml2006Reader.Read()
   at System.Windows.Markup.WpfXamlLoader.TransformNodes(XamlReader xamlReader, XamlObjectWriter xamlWriter, Boolean onlyLoadOneNode, Boolean skipJournaledProperties, Boolean shouldPassLineNumberInfo, IXamlLineInfo xamlLineInfo, IXamlLineInfoConsumer xamlLineInfoConsumer, XamlContextStack`1 stack, IStyleConnector styleConnector)
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   --- End of inner exception stack trace ---
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at Telerik.ApiTesting.UI.StepExplorer.InitializeComponent()
   at Telerik.ApiTesting.UI.StepExplorer..ctor(TestStepModel step)
   at Telerik.ApiTesting.MainWindowController.CreateContentControl(IRuntimeItemModel itemModel)
   at Telerik.ApiTesting.MainWindowController.OpenItem(Object item)
   at Telerik.ApiTesting.MainWindowController.OpenItems(IEnumerable items)
   at Telerik.ApiTesting.MainWindowController.CommandExecuted(Object sender, ExecutedRoutedEventArgs e)
   at Telerik.ApiTesting.App.CommandExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
   at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.RoutedCommand.Execute(Object parameter, IInputElement target)
   at Telerik.ApiTesting.UI.TestExplorer.StepsGridRowMouseDoubleClick(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at Telerik.Windows.Controls.GridView.GridViewRow.OnMouseDoubleClick(MouseButtonEventArgs e)
   at System.Windows.Controls.Control.HandleDoubleClick(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at Telerik.ApiTesting.App.Main()
{ "utcdate": "2017-10-20 11:22:40,160", "thread": "1", "level": "INFO ", "logger": "Telerik.ApiTesting.Logging.Logger", "code": "(null)", "message": "Application started 20/10/2017 13:22:40", "exception": "  "}
1 comment
ADMIN
Oleg
Posted on: 20 Oct 2017 11:45
Hello Martin,

Thank you for reporting the issue. This appears to be a bug in the latest version of Test Studio for APIs. It affects users that do not have Test Studio Web & Desktop installed on their machine and is related to a missing .dll file in the Test Studio for APIs installation. We already fixed the problem and we will release the fix with the next service pack.

The easiest way to workaround the problem for now is if you just install a trial version for Progress Test Studio Web & Desktop or Test Studio Ultimate (https://www.telerik.com/download/teststudio) on your machine (even if you do not activate license for it). This will add the missing .dll in the machine's Global Assembly Cache and Test Studio for APIs will be able to use it.

If for some reason you prefer not to keep Progress Test Studio Web & Desktop or Test Studio Ultimate installed on your machine, you could do the following:
1. Download a trial for Test Studio Web & Desktop (version 2017.3.1010.4)
2. Copy the Telerik.TestingFramework.Interop.dll file from {{TestStudio_Install_Folder}}\Test Studio\Bin\
3. Paste the file into {{TestStudioForAPIs_Install_Folder}}\Test Studio for APIs\Bin\ApiTesting
4. You can uninstall Test Studio 
5. Restart Test Studio for APIs

Thanks in advance for your cooperation! Let us know if we can be of further assistance.

Regards,
Oleg