"Arne Vajhøj" <ar**@vajhoej.dkwrote in message
news:48***********************@news.sunsite.dk...
Mr. Arnold wrote:
>"sutejok" <su*****@gmail.comwrote in message
news:76**********************************@u6g2000 prc.googlegroups.com...
>>I'm thinking of something like Ruby's Watir, where we can give it a
command like
- open a web address
- click button labelled "submit"
- select drop down list labelled "age", select 4th item
- etc
Is there a way to do something similar in c#? that is, i want my
software to have a power like a browser where the software can open
web pages, and it can interact with the web pages just as a regular
human user would be able to.
This is not a C# question. This is more of an ASP.Net question, which
would be at MS.Public.dotnet.framework.aspnet. There might be some kind
of 3rd party tool using a C# ASPNet Codebehind file solution that could
control the Web page. I don't see why you couldn't do that.
If I read the original poster correct, then he is asking for client
side code not server side code. Not ASP.NET - but more like
a smart layer on top of (Http)WebRequest.
Then he can do it JavaScript using Ajax pro for .Net (client side only) and
make a call to the CodeBehind file as a proxy if need be. Or he can use HTML
controls with Javascript (client side only) as a ASP.NET solution with or
without CodeBehind file possibly.
But I say someone has already done this kind of thing the OP is looking to
do as a 3rd party tool/solution. So why reinvent the wheel?