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

Exception when verifying element presence (Execution through mstest)

1 Answer 30 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
VVP
Top achievements
Rank 2
VVP asked on 12 Aug 2015, 10:29 AM

Hi,

 I am verifying presence of several tables in a page which is loaded.when executed using telerik AOT, it works fine.But using MSTest i am facing this issue.

All works fine except one, for which i gets an exception like below

System.Security.VerificationException: Method ArtOfTest.WebAii.TestTemplates.HtmlElementContainer.Get: type argument 'Telerik.TestingFramework.Controls.KendoUI.KendoGrid' violates the constraint of type parameter 'TControl'.

 

Any idea why it is being thrown?

Is this because of missing dlls? 

 

Thanks,

VVP

 

1 Answer, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 17 Aug 2015, 07:36 AM
Hello Vishnu,

I have tried reproducing this behavior against our kendo demos but I was not able to reproduce such behavior. If you can provide us with a sample test that we can execute and reproduce the behavior it will be great.

Looking forward to hearing from you.

Regards,
Ivaylo
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
VVP
Top achievements
Rank 2
Answers by
Ivaylo
Telerik team
Share this question
or