SeleniumIDEにて、HTMLで作成したテストケースをWindowコマンドラインから実行する際に引数で渡した値で、挙動を変えたいです
java -jar selenium-server-standalone-2.39.0.jar -htmlSuite "*firefox" "https://teratail.com" "SampleTestSuite.html" "results.html"
上記のようなコマンドでseleniumを実行していますが、
これに「userid001」という引数を与えて、
java -jar selenium-server-standalone-2.39.0.jar -htmlSuite "*firefox" "https://teratail.com" "SampleTestSuite.html" "results.html" "userid001"
とすることで、
SampleTestSuite.html内の変数に「userid001」と格納されるようにしたいです。
あなたの回答
tips
プレビュー