I have a responsibility within my testing department to automate the
submission of data on 4 sequential asp pages. Here's the tasks:
1. Sign in
2. Enter form data and submit
3. Enter more form data and submit
4. Upload file and submit all data
The final submission is an accumulation of data from the previous
steps(minus the sign in). Can anyone point me to some sample code or
program that can do this. The program should just run and produce no
output other than what the asp pages output. I'm a beginning C#
programmer so I neeeed help.
Thanks in Advance.
Matt 4 10528 mo************@egdsc.microsoft.com (Mohamoss) wrote in message news:<M7**************@cpmsftngxa10.phx.gbl>... Hi Matt checkout these links ,they may help
http://it.maconstate.edu/tutorials/A...pnet02-03.aspx http://www.codeproject.com/aspnet/SubmissionHijack.asp Mohamed Mahfouz MEA Developer Support Center ITworx on behalf of Microsoft EMEA GTSC
Mohamed,
Thanks for the reply. These webpages show how to program ASP.NET
applications. I'm looking for a C# program to manipulate asp web
pages. In other words, let's say there are 4 asp web pages out there
on the internet. I need to start at the first page, enter sign-in
information and click submit, then fill in the fields on the second
page, click submit, fill in the fields on the third page, click submit
and finally, fill in fields and upload file on the final page. This
all has to be done automatically. Thanks!
Matt
Not an easy task, but doing actual posts (forms submissions is relatively
straightforward)... http://samples.gotdotnet.com/quickst...clientPOST.asp
x
However, your going to have to add in the ability to capture cookies to
maintain your session, and pass the cookie with each post request after you
have authenticated. In theory your going to create a web browser, it may be
easier using one that already exists. http://www.codeproject.com/csharp/mshtml_automation.asp
--
Regards
John Timney
Microsoft Regional Director
Microsoft MVP
"mparisi" <ml*@parisimedia.com> wrote in message
news:57************************@posting.google.com ... mo************@egdsc.microsoft.com (Mohamoss) wrote in message
news:<M7**************@cpmsftngxa10.phx.gbl>... Hi Matt checkout these links ,they may help
http://it.maconstate.edu/tutorials/A...pnet02-03.aspx http://www.codeproject.com/aspnet/SubmissionHijack.asp Mohamed Mahfouz MEA Developer Support Center ITworx on behalf of Microsoft EMEA GTSC
Mohamed,
Thanks for the reply. These webpages show how to program ASP.NET applications. I'm looking for a C# program to manipulate asp web pages. In other words, let's say there are 4 asp web pages out there on the internet. I need to start at the first page, enter sign-in information and click submit, then fill in the fields on the second page, click submit, fill in the fields on the third page, click submit and finally, fill in fields and upload file on the final page. This all has to be done automatically. Thanks!
Matt This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: ratlhead |
last post by:
Hey all,
I'm attempting to do some form processing on a server that has
register_globals off, however, I've run into a confusing situation and
need some help.
Basically, the form is a...
|
by: Charles Banas |
last post by:
weird subject - i hope more than just one curious regular will hear me out.
:)
ok, i've got a bit of a big problem, and i need answers as soon as
possible.
i know this forum is meant for web...
|
by: Chris Smith |
last post by:
Good morning,
Is there a good way to use JavaScript to send a form submission, but get
back the response as a string, rather than loading it into a page? I
could write the code to send the...
|
by: brettev |
last post by:
World,
I work at a university where the professors have a system to input
grades for assignments and calculate final grades, which is output to
an excel file. they are then required to get on a...
|
by: morau99 |
last post by:
I want to create a "phrase of the day" post to an online language forum
I participate in. I would like to automate this process so that I can
randomly pull out of a big table a phrase and easily...
|
by: Oleg Konovalov |
last post by:
Hi,
I have a Java/JavaScript GUI application where I perform a lot of long DB
operations
, which takes 5-60 secs to perform.
Sometimes user double-clicks the button or just gets impatient and...
|
by: Homer |
last post by:
Hi,
I just got a requirement from my HR department to automate their form
submission process and integrate it into the Intranet project that I
had just completed Phase 1 of. Because of the...
|
by: Stanimir Stamenkov |
last post by:
I have a form without a submit button like:
<form name="form1" action=""
onsubmit="alert('submit ' + this.name);">
<div>
<label>Field 1: <input type="text" name="field1"...
|
by: Thekid |
last post by:
I'm trying to auto send a form submission to a website but it isn't working. I've done this before and it worked but for some reason, using the same basic code, it doesn't seem to submit it. I'm...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
| |