This is a migrated thread and some comments may be shown as answers.

Unit Testing UWP with Telerik

2 Answers 80 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 05 Oct 2016, 04:54 PM

Have you guys successfully done unit testing with the new Unit est App (UWP) project and Telerik?

I am seeing errors when trying to run or debug the unit tests.  Some threads on the web with similar issues suggested adding the [Bindable] attribute to the main app class, but this has not helped fix my issue.  It seems to be having issues with Telerik on startup.

 

Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

"Cannot deserialize XBF metadata type list as 'UserThemeResources' was not found in namespace 'Telerik.UI.Xaml.Controls'. [Line: 0 Position: 0]"

Any suggestions?

2 Answers, 1 is accepted

Sort by
0
Simon
Top achievements
Rank 1
answered on 08 Oct 2016, 06:53 PM
Anyone?
0
Tsvyatko
Telerik team
answered on 10 Oct 2016, 07:57 AM
Hello Simon,

Thank you for contacting us. Depending on the setup of the tests you might need to add [UITestMethod] attribute and define telerik theme resources in the UnitTestApp.Xaml.

Please let us know if these suggestions help. If not, could you share more information regarding the setup in which the issue occurs.

Regards,
Tsvyatko
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussion
Asked by
Simon
Top achievements
Rank 1
Answers by
Simon
Top achievements
Rank 1
Tsvyatko
Telerik team
Share this question
or