snowdog11
April 19th, 2003, 11:42 AM
How do you programmatically go to a specific web page, populate an HTML textbox with text (or select a control to a specific value, etc.) and simulate clicking a button all in C#? The page can be anywhere on the internet.
It is pretty simple to nagivate to a specific page with HttpWebRequest, but how do you set the value of specific components, or at least simulate a submit button click? I'm specifically talking about pages that POST their request.
Do you have to manually create the POST request? Is it possible to programmattically click a submit button?
Thanks.
It is pretty simple to nagivate to a specific page with HttpWebRequest, but how do you set the value of specific components, or at least simulate a submit button click? I'm specifically talking about pages that POST their request.
Do you have to manually create the POST request? Is it possible to programmattically click a submit button?
Thanks.