how to fill in html textbox from (c# )windows application

Posted by Mrlingam under C# on 4/30/2012 | Points: 10 | Views : 3338 | Status : [Member] | Replies : 3
I would like to do the following from a windows application:

1. Open a browser and navigate to a URL.
2. When i am at the correct URL in my browser window, i want to fill in data in the html textboxes on that page from my windows application.
3. When thats done i want to press a button.

Google Chrome and Mozilla Firefox is currently used in my web browser Window .IE is not used in browser Window.

Please help me




Responses

Posted by: Niladri.Biswas on: 4/30/2012 [Member] Platinum | Points: 25

Up
0
Down
Check this out http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.aspx

Best Regards,
Niladri Biswas

Mrlingam, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mrlingam on: 4/30/2012 [Member] Starter | Points: 25

Up
0
Down
Thanks for your reply . I am asking about Mozilla Firefox (FF) and Google Chrome (GC) Web Browser not Internet Explorer (IE).

Mrlingam, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mrlingam on: 5/2/2012 [Member] Starter | Points: 25

Up
0
Down
1.The URL (https://www.exple.com/login.html ) had already opened in anyone web browsers such as Mozilla Firefox and Google Chrome on local System.

It consists of Two Textboxes such as Username and Password .

2.I Want to fill in data in Username & Password Textbox on Google Chrome/Mozilla Firefox Web Browser.
3.The Input data is taken from C# Windows Application to URL When Clicked Submit Button in Windows Application.


Thanks in Advance .

Mrlingam, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response