IE automation (using SHDocVw.dll) - can I get referrence to a running IE window?

vb6 Bulgaria
  • 14 years ago

    Hi! I'm newcomer here. I'm QA engineer.

    I was writting a test script in VB for a web application (using Compuware's TestParter) and i found that it's very convinient to use SHDocVw library, to manipulate IE instance through automation interface. I can get referrence to new instance (e.g. "Dim IE As new SHDocVw.InternetExplorer"), but the problem is that I want to get referrence to IE instance that was already created, before the test script was ran (e.g. the IE was opened manually, and then the script has to acquire the referrence to that window).

    Does anybody known how can i do this ?





Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“To iterate is human, to recurse divine” - L. Peter Deutsch