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
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.
If you are trying to automate mouse clicks and keyboard strokes, you can try AutoIt .
HttpWebRequest, , Google :
http://netomatix.com/HttpPostData.aspx
http://watin.sourceforge.net
Source: https://habr.com/ru/post/1770038/More articles:Help with the first migration, want to rename the fields and make them not zeros - ruby-on-railsDevelopment time data source requirements in Report Viewer 2010 - datasetNSTextView: loading RTF, viewing is not updated correctly until the mouse is moved around the control - cocoaCodeigniter is "catching" URLs, although they have been urcoded - codeignitercheck for a variable in sight using a code igniter - codeigniterIs there a way in vi / vim to make Visual Block Mode without pipeline restrictions? - vimGNU Prolog - recursion problem (easy?) - recursionWhen is Scala going to trash? - garbage-collectionWhy is there always a 10px add-on in System.Windows.Controls.Button? - paddingjava xml validation: getting a better description of validation error - javaAll Articles