This is a migrated thread and some comments may be shown as answers.

Exception issues.

1 Answer 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
CVue
Top achievements
Rank 1
CVue asked on 06 Aug 2015, 05:35 PM

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!

 

 

1 Answer, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 11 Aug 2015, 10:54 AM
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
 
Tags
General Discussions
Asked by
CVue
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Share this question
or