Traversing web pages

  • Thread starter Thread starter sutejok
  • Start date Start date
S

sutejok

Hi,

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.

just wondering :)

Thx
Tejo
 
sutejok said:
Hi,

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.

just wondering :)

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.
 
sutejok said:
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.

It can be done using (Http)WebRequest, but it will require
quite some coding.

Arne
 
Mr. Arnold said:
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.

Arne
 
Arne Vajhøj said:
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?
 
Back
Top