Getting R6025 run-time error in ArtofTest's Assert statement execution

2 posts, 0 answers
  1. Limu
    Limu avatar
    14 posts
    Member since:
    Oct 2010

    Posted 03 Nov 2010 Link to this post

    I am getting into runtime error when some assert.istrue or assert.isnotnull statements are executed.
    The error is "runtime error R6025
    - pure virtual function call "

    This is a .NET error which is thrown when there is a programming issue. This is the explanation given in microsoft support website
    "This error occurs when your application indirectly calls a pure virtual member function in a context where a call to the function is not valid." in the website

    The thing is, the function that I wrote was working with no issues previously for a long time. All of a sudden I am getting this error. So I am wondering what went wrong.




    form= ActiveBrowser.Frames[0].Find.ByTagIndex<HtmlForm>("formtag", 0);




    Assert.IsTrue(form != null);

    I am getting the error in such simple line, is there anything I need to do here?


  2. Cody
    Cody avatar
    3354 posts

    Posted 08 Nov 2010 Link to this post

    Hello Shwetha,

    Those two lines of code appear perfectly fine to me. I suspect something may have gotten messed up with your using statements or project references. Would you mind putting your entire test project into a .zip file send sending it to me for analysis? I suggest opening a support ticket and attaching it there instead of attaching it to this public forum thread.

    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
Back to Top