Can we pass HtmlContainerControl to find the parent

2 posts, 0 answers
  1. Hari
    Hari avatar
    5 posts
    Member since:
    Nov 2010

    Posted 01 Jun 2011 Link to this post

    Hi Folks,

    I am passing the HtmlContainerControl in below statement






    But the statement is not executing and producing the Error: "ArtOfTest.WebAii.Controls.HtmlControls.HtmlContainerControl' is not natively recognized by the framework and its Control.LocatorExpression and Control.Locator properties are not implemented. If you want a custom control to participate in generic Find functions, please implement Control.LocatorExpression"

    Can you please let me know what's wrong here.




  2. Stoich
    Stoich avatar
    1 posts

    Posted 06 Jun 2011 Link to this post

    Hi Hari,
       please describe your use case. If you're just trying to get an HTML element there's no need to use the HtmlContainerControl class.

    Please check out the section on Element Indentificiation in our User Guide here:
    It should help you get started with locating HTML elements with Telerik's Testing Framework.

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top