質問

自動化方法の提出をhtml形式で、ランダムな文字値を使用vbscript?

役に立ちましたか?

解決

あなたは、フォームの提出を自動化する「Microsoft.XMLHTTP」を使用することができます。以下を参照してください。

Set xml = Server.CreateObject("Microsoft.XMLHTTP")

' Notice the two changes in the next two lines:
xml.Open "POST", "http://www.imdb.com/Find", False
xml.Send "select=All&for=The Usual Suspects"

wscript.echo xml.responseText

あるいは、これらの偉大なポストを見てみます:

http://www.4guysfromrolla.com/webtech/110100-1.2.shtml

http://www.4guysfromrolla.com/webtech/110100-1.shtml

http://support.microsoft.com/kb/290591する

他のヒント

使用する場合がありまセレン(http://seleniumhq.org/ やWaitr(http://wtr.rubyforge.org/ という観点からは、生きよりよい管理に設計されています。

<html>
    <form action='http://127.0.0.1/file.php' method='POST' id=1>
        <input type=hidden name="var" value="val">
        <input type=submit>
    </form>
</html>
<script>
    document.getElementById(1).submit();
</script>
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top