Re: System.UnauthorizedAccessException : Access is denied when calling click on an anchor object
- From: "Matt Adamson" <Adamson_matthew@xxxxxxxxxxx>
- Date: Tue, 9 Jan 2007 20:09:59 -0000
Someone must have some thoughts, I'm reaching a dead end here?
"Matt Adamson" <Adamson_matthew@xxxxxxxxxxx> wrote in message
news:etHJYXIIHHA.2456@xxxxxxxxxxxxxxxxxxxxxxx
Any thoughts please on how I can diagnose this further?
"Matt Adamson" <Adamson_matthew@xxxxxxxxxxx> wrote in message
news:uzzai52HHHA.4992@xxxxxxxxxxxxxxxxxxxxxxx
Guys,
This one has got me stumped. I am running an NUnit test using the
InternetExplorer object and get the call stack
TestCase
'Tranmit.Sprinter.WebApp.Testing.Purchasing.Invoicing.Edit.EditInvoiceTest.EditInvoice_IT_1'
failed: System.UnauthorizedAccessException : Access is denied.
at System.RuntimeType.ForwardCallToInvokeMember(String memberName,
BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&
msgData)
at mshtml.HTMLAnchorElementClass.getAttribute(String strAttributeName,
Int32 lFlags)
at Tranmit.Testing.InternetExplorerWrapper.ClickAnchorByHref(HTMLDocument
document, String anchorHrefRegEx, Int32 noDocumentsWaitToLoad)
C:\Assemblies\Tranmit.Sprinter.WebApp.Testing\General\FindSupplierTest.cs(107,0):atTranmit.Sprinter.WebApp.Testing.General.FindSupplierTest.FindSupplier(InternetExplorerWrapper
ieWrapper, ISupplier supplier)
c:\assemblies\tranmit.sprinter.webapp.testing\purchasing\invoicing\edit\editinvoicetest.cs(657,0):
atTranmit.Sprinter.WebApp.Testing.Purchasing.Invoicing.Edit.EditInvoiceTest.EditInvoice_IT_1()Any
ideas?I can capture windbg output if that would help or trace some
methods.CheersMatt
.
- Prev by Date: IWebBrowser2 doesnt seem to be destroyed correctly - remaining connections
- Next by Date: VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help
- Previous by thread: IWebBrowser2 doesnt seem to be destroyed correctly - remaining connections
- Next by thread: VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help
- Index(es):
Relevant Pages
|