目次

play!のseleniumについてのメモ

やり方

  1. プロジェクトの直下にtestというフォルダを作る。
  2. Application.test.htmlをフォルダに格納する
  3. play test プロジェクト名 でテストモードで立ち上げる
  4. 次のアドレスを開くhttp://localhost:9000/@tests

Seleniumの解説

http://seleniumhq.org/

Selenium IDE Plugins

http://seleniumhq.org/projects/ide/

Selenium-IDE ― Selenium Documentation

http://seleniumhq.org/docs/02_selenium_ide.html#selenium-commands-selenese

サンプル

yabe/test/Application.test.html

いま勉強中の疑問

   //指定した箇所に指定した文字列を記述する必要があるのに、idの指定がないのは大丈夫なのか?
   
   //submitボタンもidがないとつらいのではないか?
   
   //メソッドのリファレンスはどこか
   
   //type('password', 'secret')
   //clickAndWait('signin')
   //assertText('success', 'Welcom admin!')
トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS