In the following application, I used HTML agility pack to extract the HTML document from the given url. Now I need to know how can i use the element ids from the HTML document and enter text in the fields and in the end hit SUBMIT button to submit the form.
protected void Button1_Click(object sender, EventArgs e)
{
string Url = "https://something.com/login.asp";
HtmlWeb web = new HtmlWeb();
HtmlAgilityPack.HtmlDocument doc = web.Load(Url);
}
The current application automate the web data entry.
1 Answer