Exception issues.

2 posts, 0 answers
  1. CVue
    CVue avatar
    36 posts
    Member since:
    Mar 2015

    Posted 06 Aug 2015 Link to this post

    I'm running tests that requires me to throw a exception upon assert.istrue fails. What i'm doing is if i catch a fail, i throw a new exception for that fail and continue to run the next tests. After 200 straight tests or so, i'm getting a issue, my tests are not running anymore and i'm getting this error thrown:

     

    ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
    InError set by the client. Client Error:
    System.Runtime.InteropServices.COMException (0x80028019): Old format or invalid type library. (Exception from HRESULT: 0x80028019 (TYPE_E_UNSUPFORMAT))
       at mshtml.HTMLDocumentClass.IHTMLDocument3_get_documentElement()
       at ArtOfTest.InternetExplorer.IECommandProcessor.SetCurrentDocumentMarkup(BrowserCommand& response)
       at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
       at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommandInternal(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
    BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_c168ab9f-204a-400e-81af-417440858fac',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.Runtime.InteropServices.COMException (0x80028019): Old format or invalid type library. (Exception from HRESULT: 0x80028019 (TYPE_E_UNSUPFORMAT))
       at mshtml.HTMLDocumentClass.IHTMLDocument3_get_documentElement()
       at ArtOfTest.InternetExplorer.IECommandProcessor.SetCurrentDocumentMarkup(BrowserCommand& response)
       at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
       at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommandInternal(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
    InnerException: none.ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!

     

     

  2. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 11 Aug 2015 Link to this post

    Hello Cher,

    What version of Test Studio you are using, if this is a 2013 version as it sais in the ticket info this may an old bug that is already fixed. Please upgrade to latest and give it a try.

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