Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

Is it possible to write some script which will automatically open a web application, fill required credentials and click on the login button. And from next page download some data?

If first step is cleared, I can go for download thing by my own.

So, guys please help me with the approach.

Regards,
Rakesh
Posted
Comments
R. Giskard Reventlov 13-Oct-11 10:25am    
I take you mean to try this against someone else's web site? Try asking them for access.
rakesh5454 13-Oct-11 10:50am    
No, I have credentials to login but don't have other means to get into it programmatic-ally. No interfaces are there and can't be provided.

1 solution

You can use the "screen scraper" approach using the WebBrowser[^] class to interact with a web site. Your program can then extract the data from returned pages and process it as required.
 
Share this answer
 
Comments
rakesh5454 13-Oct-11 23:21pm    
Will you give me some more information about screen scraper approach? Any sample code? Thanks!!
Richard MacCutchan 14-Oct-11 4:45am    
Sorry I don't have any that I could give you, but a quick Google search may find you some. Also take a look at this article by Luc Pattyn.
Richard MacCutchan 14-Oct-11 4:46am    
Also this was just recommended to me.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900