How to fetch the data from website (particlar site with credentials)

I have a requirement where i need to login to multiple sites ( and give my credentials (Id and Pass). After logging in, i have to click on particular link and need to select the date range and status level for all tasks in combo boxes. Then we will get the required information.

To avoid this all manual process, i would like to automate this in C# (Windows application). Can anyone please help me how to achieve this? Thanks in advance.


A possible solution could be using Selenium for this. With the Selenium webdriver you can easy fetch data from your web page.

With Selenium you could use FindElement(ById... And use the GetText option to get your specific data.

You could also use HtmlAgilityPack. Authentification is possible with

using HtmlAgilityPack;

var htmlWeb = new HtmlWeb();
htmlWeb.PreRequestHandler += (request) => 
    request.Credentials = new NetworkCredential("login", SecureString);
    return true; 

Check this post for more informations..

Need Your Help

Synchronous calls using RemoteObject

flex actionscript

Is there a way to make synchronous calls using RemoteObject in Flex?

Import from subpackage or full path difference

python python-2.7 import global-variables global

Importing the same Python module from a different path appears to result in the creation of two different module references.