InError set by the client. Client Error

2 posts, 0 answers
  1. Phuong
    Phuong avatar
    1 posts
    Member since:
    Jul 2011

    Posted 24 Oct 2011 Link to this post

    Hi all!
    I was using trial version of telerik test studio TestStudio_2001_1_712, then I upgraded to a newer version TestStudio_2001_2_928. after upgrading, I opened my test project (and of course the project was converted to the newer version). The problem is: All the test (recorded step or coded step) are unable to run. File log is following
    .............................

    ExecuteCommand failed!InError set by the client. Client Error:System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at mshtml.HTMLLocationClass.get_href() at ArtOfTest.InternetExplorer.IECommandProcessor.SetCurrentDocumentMarkup(BrowserCommand& response) at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request) at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_3ecdd8b9-8844-4643-809f-bf8316271f38',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at mshtml.HTMLLocationClass.get_href() at ArtOfTest.InternetExplorer.IECommandProcessor.SetCurrentDocumentMarkup(BrowserCommand& response) at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request) at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')InnerException: none.

    ...................................

    Anyone can help me!
    Thanks a lot

  2. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 26 Oct 2011 Link to this post

    Hi Phuong,

    The stack trace shows that Test Studio is trying to iterate through the web page (part of a normal DOM refresh done after any action step), yet receiving an Access Denied on some object inside the deep internals of IE.

    Sometimes this can be caused by the DOM changing at the time we are trying to read the DOM. An object may be going away at the time we are trying to scan the DOM. In other words, it can be a timing issue: the page hasn't fully finished updating at the time we are trying to copy the DOM out of the browser.

    Can you give us any more details about what the test is doing and what is happening within the browser at the time you get this error? Do you know precisely which line of code, or which test step is failing? Is it possible to insert an Execution Delay before this test step (assuming it is a timing problem) or some sort of Wait.For step?

    You could also attach a copy of the project (within a .zip file) and allow us to upgrade it and test it directly. You can create a support ticket for that, which unlike this forum, is confidential.
     

    Best wishes,
    Anthony
    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