Thread: How to automate IE?

  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    119

    How to automate IE?

    I am trying to automate Internet Explorer via a C# application. After a lot of trial and error i've gotten to the point of being able to open a browser window to a specified url. Unfortunately i'm not finding a lot of information on the web. I want to do a lot more than just open a website. I want to be able to test my website via an automated IE. Anyone know much about this sort of thing? Or know a great place for info? Thanks.

  2. #2
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Google "Webbrowser control"

  3. #3
    Registered User
    Join Date
    Sep 2007
    Posts
    119
    cool, i'll give it a try. You have any experience with that sort of thing? I get the following error when I try and add a reference to mshtml.dll...

    A reference could not be added. Make sure that the file is accessible, and that it is a valid assembly or COM component.

    Im guessing until I get that figured out I cant even really get started :S...
    Last edited by John_L; 03-02-2008 at 09:33 PM.

  4. #4
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    I've only used it in a non-.NET environment, so I'm not much help to you beyond saying that's the right place to start.

  5. #5
    Registered User
    Join Date
    Mar 2005
    Location
    Mountaintop, Pa
    Posts
    1,058
    Maybe this link can be of some help.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Automate Fast User Switching
    By haku_nin in forum Windows Programming
    Replies: 2
    Last Post: 07-29-2005, 12:44 AM
  2. Is C# What i need for this?
    By Zeusbwr in forum C# Programming
    Replies: 1
    Last Post: 04-19-2005, 03:51 AM
  3. automate bios
    By yinhowe in forum C Programming
    Replies: 2
    Last Post: 01-03-2003, 06:32 PM
  4. Replies: 7
    Last Post: 07-19-2002, 11:49 AM
  5. automate this??
    By Goof Program in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 01-31-2002, 06:02 AM