Fill out the form automatically

I need to create C # code to go to the site, fill out a form to record a post.

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

any ideas

+3
source share
4 answers

You can create C # code that sends data to the form page for the site you are trying to register people with. Otherwise, depending on the browser, you may use something like iMacros to automate the filling out of the form. Other answers are also true. If this is not a site that you control, none of these methods will work if the site uses captcha or other methods to prevent the form from filling out automatically.

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

+1
source

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

0
source

HttpWebRequest, , Google :

http://netomatix.com/HttpPostData.aspx

0
source

Source: https://habr.com/ru/post/1770038/


All Articles