could not find browser

6 views
Skip to first unread message

priya

unread,
Dec 16, 2009, 12:59:50 AM12/16/09
to watij
Hi All,

Actually I have a single ie object. First I attach a browser and do
some things. Then I close that broswer and attach to yet another
browser to do my login applications. The first browser is attaching
well. At time even attaching to the second browser succeeds. but fails
at times saying "Could not attach to browser". Is there something I am
missing?
Or is that something to do with the ie ?

Thanks.
Priya.R

Darrell Grainger

unread,
Dec 16, 2009, 10:39:33 AM12/16/09
to wa...@googlegroups.com
To figure out what is going on try to create the smallest code sample
that exhibits the same behaviour. Often just trying to trim the code
down to the minimal example helps you to figure out what is going on.

Without code, I'd guess that you create an object, use it, free the
object, use it. The second attempt will fail because the object is no
longer there. If the native code is releasing the memory for the IE
object, it can release the memory but the data still exists. Until
there is another memory allocation it might appear as if the object is
still there.

Please give code examples of 'attach a browser', 'close that browser', etc.

2009/12/16 priya <priya.r...@gmail.com>:
> --
>
> You received this message because you are subscribed to the Google Groups "watij" group.
> To post to this group, send email to wa...@googlegroups.com.
> To unsubscribe from this group, send email to watij+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/watij?hl=en.
>
>
>
Reply all
Reply to author
Forward
0 new messages