473,320 Members | 1,744 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Traversing web pages

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
Jun 27 '08 #1
4 1341

"sutejok" <su*****@gmail.comwrote in message
news:76**********************************@u6g2000p rc.googlegroups.com...
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.
Jun 27 '08 #2
sutejok wrote:
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
Jun 27 '08 #3
Mr. Arnold wrote:
"sutejok" <su*****@gmail.comwrote in message
news:76**********************************@u6g2000p rc.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.

Arne
Jun 27 '08 #4

"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?
Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: w.p. | last post by:
Hello! I want change default tab traversing in my app. But i don't know how to do it :( Belowe i include simple example - i want change default tab order: radiobutton "mode11" -> radiobutton...
2
by: Ken Fine | last post by:
I would like some guidance regarding a "content scanner" I'm trying to build. This ASP widget will automatically scan remote web sites for certain kinds of content using a screen scraping component...
2
by: Jim Cobban | last post by:
I am using Xerces to read an XML file and load it into a DOM so I can update it and subsequently serialize the updated DOM. The problem I have is that as I traverse the DOM I would like to inform...
3
by: Plamen Valtchev | last post by:
This is my problem: From JavaScript I want to find the list of all defined/loaded JavaScript functions/objects/names within the current scope (html page in a browser). the page could contain...
1
by: alfred | last post by:
Hi my question is on traversing a tree with DOM. how would I be able to traverse 2 trees at the same time. I have 2 XML documents, with similar nodes. I would like to traverse 1 xml document,...
4
by: plmanikandan | last post by:
Hi, I am new to link list programming.I need to traverse from the end of link list.Is there any way to find the end of link list without traversing from start(i.e traversing from first to find the...
5
by: johnny | last post by:
Any python module for navigating and selecting, parsing HTML files?
30
by: asit | last post by:
We kno that data can be pushed onto the stack or popped 4m it. Can stack be traversed ??
1
by: somcool | last post by:
I am facing an error while traversing a query in MS Access Details - When I click a button, a form which has the query opens up. There are certain fields which are in the form of combo box in the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.