-
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.
-
Google "Webbrowser control"
-
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...
-
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.
-
Maybe this link can be of some help.