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 http://support.microsoft.com/kb/125749
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.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?