WingMan20-10
WingMan20-10

Reputation: 3734

fill form automatically

I need to create c# code to go to site, fill in form submit record.

I have tried using seleniumhq but this creates tests..I need more of a script i can run once to help me register some users for my site

any ideas??

Upvotes: 3

Views: 2803

Answers (4)

Matt Phillips
Matt Phillips

Reputation: 11519

You can create c# code that posts data to the form page for the site that you are trying to register the people for. Otherwise depending on the browser you could use something like iMacros to automate the form filling. The other answers are also correct. Unless it is a site you control none of these methods will work if the site uses captcha or other methods to prevent automatic form filling.

Edit: Something like http://geekswithblogs.net/rakker/archive/2006/04/21/76044.aspx would be a good start.

Upvotes: 1

Xaqron
Xaqron

Reputation: 30847

http://watin.sourceforge.net

Upvotes: 0

timh
timh

Reputation: 371

i would use an HttpWebRequest Object to submit the form, a quick google found this:

http://netomatix.com/HttpPostData.aspx

Upvotes: 0

bla
bla

Reputation: 5480

If you are trying to automate mouse clicks and keyboard strokes, you can try AutoIt.

Upvotes: 0

Related Questions