none
InvalidCast Exception thrown while accessing the HTMDoc.Frames RRS feed

  • Question

  • Hi,

    I am using CCF framework for automation of the web applications. I am using CCF.Web.Browser control provided by CCF framework with MSHTML.dll to make work automations. I am having frames controls on the web page

    My problem is I have a code in which there's one UI thread and inside  that Thread I am spawning another threads(one at a time). The issue is when I run the code first time it works the fine without any errors. but second time when I runs the same code it throws the System.InvalidCastException( from COM exception).

    I can't understand why it's working first time and not the second time ? does any one have any idea? Does it happens because I've used the threads?

    • Moved by Angie Xu Tuesday, June 23, 2015 8:16 AM from IE web forum
    Friday, June 19, 2015 9:24 AM

All replies

  • It is better ask to Customer Care Framework forum for CCF issue.

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, June 23, 2015 8:17 AM