snowdog11
April 17th, 2003, 04:59 PM
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, not just a custom app written in ASP.NET.
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.