I'm using watij with IE 7. The site is rather complex with frames and
such. There is a navigation menu at the top. When watif "clicks" on
a link from the navigation menu I get the error at the bottom. Any
ideas why I get the permission problem?
-Tim
com.jniwrapper.win32.com.ComException: COM object method returns error
code: 0x80070005; E_ACCESSDENIED (Access is denied.)
at
com.jniwrapper.win32.com.impl.IUnknownImpl.invokeStandardVirtualMethod(SourceFile:
658)
at
com.jniwrapper.win32.mshtml.impl.IHTMLElementImpl.getAttribute(SourceFile:
69)
at com.jniwrapper.win32.ie.dom.c.b(SourceFile:155)
at com.jniwrapper.win32.ie.dom.c.getAttribute(SourceFile:136)
at com.jniwrapper.win32.ie.dom.c.getText(SourceFile:417)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.jniwrapper.win32.ie.dom.j.run(SourceFile:591)
at com.jniwrapper.win32.MessageLoopThread
$ThreadSynchronizedAction.run(MessageLoopThread.java:560)
at com.jniwrapper.win32.MessageLoopThread
$LoopThread.run(MessageLoopThread.java:502)
-aB
ie.waitUntilReady() // i think that is the call, not looking at the
code right now
calls before continuing at key points in the testing.
On Mar 26, 7:55 pm, "Anson" <ans...@gmail.com> wrote:
> There are several other known issues with Watij and IE7, so I must say
> I'm surprised that you could get that far, even.
>
> -aB
>
> On Mar 25, 3:37 pm, "Tim Wisniewski" <tjw3...@gmail.com> wrote:
>
>
>
> > Hi,
>
> > I'm using watij with IE 7. The site is rather complex with frames and
> > such. There is a navigation menu at the top. When watif "clicks" on
> > a link from the navigation menu I get the error at the bottom. Any
> > ideas why I get the permission problem?
>
> > -Tim
>
> > com.jniwrapper.win32.com.ComException: COM object method returns error
> > code: 0x80070005; E_ACCESSDENIED (Access is denied.)
> > at
> > com.jniwrapper.win32.com.impl.IUnknownImpl.invokeStandardVirtualMethod(SourceFile:
> > 658)
> > at
> > com.jniwrapper.win32.mshtml.impl.IHTMLElementImpl.getAttribute(SourceFile:
> > 69)
> > at com.jniwrapper.win32.ie.dom.c.b(SourceFile:155)
> > at com.jniwrapper.win32.ie.dom.c.getAttribute(SourceFile:136)
> > at com.jniwrapper.win32.ie.dom.c.getText(SourceFile:417)
> > at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > at java.lang.reflect.Method.invoke(Unknown Source)
> > at com.jniwrapper.win32.ie.dom.j.run(SourceFile:591)
> > at com.jniwrapper.win32.MessageLoopThread
> > $ThreadSynchronizedAction.run(MessageLoopThread.java:560)
> > at com.jniwrapper.win32.MessageLoopThread
> > $LoopThread.run(MessageLoopThread.java:502)- Hide quoted text -
>
> - Show quoted text -
Wow, you're doing a lot better with IE7 than most of us. What
operating system (please be specific, including service packs) are you
running it on?
You're probably right about the javascript; does it execute
asynchronously?
-aB
I started this thread and I'm trying to respond to some of you :)
I'm using Watij 3.1.0, jre 1.5.0.10, and WinXP home with all updates
installed. I'm not quite sure if the javascript is synchronous or
not. I'm using Watij for something a little different than it was
intended. I'm using it to log into a public website and do stuff for
me.
-Tim
On Mar 28, 2:31 pm, "Alejandro Soini" <alejoso...@gmail.com> wrote:
> Yeah, I had to account for that problem too in successive test runs. IE7
> takes a while to open and close on somewhat slower machines (not a problem
> on 64bit nice machines). Had to do some thread sleeping on logout/closing
> IE before the next successive junit/watij test would start up. Unfortunate.
>
> On 3/28/07, Taquitos! <taqui...@gmail.com> wrote:
>
>
>
>
>
> > For reference, I have been using watij with IE7 on WinXP Pro with the
> > most current patches and had only very minor issues. The biggest
> > issue I get is that IE takes a minute or 2 to open.- Hide quoted text -
With kind regards
Ben Schulz