Exception when verifying element presence (Execution through mstest)

2 posts, 0 answers
  1. VVP
    VVP avatar
    61 posts
    Member since:
    Mar 2015

    Posted 12 Aug 2015 Link to this post


     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? 





  2. Ivaylo
    Ivaylo avatar
    749 posts

    Posted 17 Aug 2015 Link to this post

    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.

    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top