It depends on what you want to test. If you want to test that the HTTP POST requests are handled correctly you could just use the Invoke-WebRequest cmdlet (or WebClient or HttpWebRequest classes, if you are using an older PowerShell version) to make the necessary POST requests. If you want to test that the web page works in a browser, you need to automate the browser (which you could do either by using browser COM objects or some Windows automation API).
↧