Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HttpResponse, HttpRequest, WebClient

Tags:

c#

webforms

Where should I begin as a best practice to simulate a web browser as most easiest way?

I have built up an regular user login, and a update-user-info (test project things) on a webform which I now wan't to simulate a fill-in, programmically. How do I keep the Sessions and put my own values into the specific input-forms, simulate click on buttons and links?

The steps of the project is login (username / password) find link to form (some random links/text) fill in form (some inputs) click save (which confirm to me by mail)

like image 423
Independent Avatar asked Nov 29 '25 03:11

Independent


1 Answers

Have you considered using a tool such as http://seleniumhq.org/

Selenium IDE is a Firefox add-on that records clicks, typing, and other actions to make a test, which you can play back in the browser.

like image 105
Rippo Avatar answered Nov 30 '25 17:11

Rippo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!