Add In Express for IE - Automating IE Selections

Add-in Express™ Support Service
That's what is more important than anything else

Add In Express for IE - Automating IE Selections
Need to hit buttons and enter fields within IE Session 
Chris King




Posts: 9
Joined: 2008-07-22
Does anyone know how I can automate a process of loggin in and entering some search info on a website i.e. Google?

As an example I'd like to load www.google.com, enter a string into the search field and then hit the search button.

Posted 12 Sep, 2008 06:51:45 Top
Eugene Astafiev


Guest


Hello Chris,

Unfortunately we don't have such a sample project.

Instead of loading Google's page and entering programatically a text you can build an URL with keywords and load it into a browser window. For example I used the "my keywords" sentence as terms to search for:

http://www.google.com/search?hl=en&q=my&q=keywords&btnG=Google+Search&aq=f&oq=

You can paste your words instead and load this page.

This technique may apply for your needs too.
Posted 12 Sep, 2008 08:05:42 Top
Chris King




Posts: 9
Joined: 2008-07-22
Hi Eugene,

Many thanks for your response. I was only using Google as an example, unfortunatley there are no parameters available for the site I'm interested in and a login/password must be entered.

Posted 12 Sep, 2008 09:07:51 Top
Eugene Astafiev


Guest


Hi Chris,

You are able to submit any form on the web page programatically. Just paste the login and password before in the form. For more information see the IHTMLFormElement interface.
Posted 12 Sep, 2008 09:30:05 Top
Chris King




Posts: 9
Joined: 2008-07-22
Hi Eugene,

Where would I find the IHTMLFormElement interface?
Posted 15 Sep, 2008 05:20:39 Top
Eugene Astafiev


Guest


Hi Chris,

Please visit the following http://msdn.microsoft.com/en-us/library/aa752432(VS.85).aspx.
Posted 15 Sep, 2008 07:45:09 Top