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)
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With