There is a webpage that has Input textfields.
I want to launch the page
Process.Start("http://nameofdomain.com")
The question is how can I enter data into the fields and submit the form?
UPDATE –
I do not need to show/render any pages to the user.
The purpose is to allow users to change their password with minimal effort. Our current setup is
- User navigates to site on Intranet (http://intranetsite/password)
- The user is asked to input their Windows user name (firstName.lastName)
- The user is asked to input their current password (or answer security questions if they exist)
- The user is asked to click a link (choose between change password or change security questions)
- The final page is a confirmation page which tells the user which passwords have been changed sucessfully. They have several accounts on our network. Each account has different password rules
One system may require the password can’t repeat again for the last 90 passwords. Another system requires the password to be exactly 8 characters. My application checks to see if the password rules are correct. I can’t check the password history. Therefore the final page would be necessary or I’d have to parse the HTML and indicate the error.
The best way (by far) is WatiN @ http://watin.org/. I tried Selenium and could never make it work smoothly (maybe it has got better since). WatiN’s documentation is oriented towards automated testing, but you can do without the testing code/libaries, and it supports Firefox and Chrome too. For example:
…