play!framework selenium
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
*目次 [#q547d8ad]
#contents
*seleniumってなに [#j330a794]
**Selenium RC を使って Web アプリケーションをテストする [...
play!frameworkには、はじめからseleniumがバンドルされてい...
Selenium RC をダウンロードしてインストール
とかは不要だと思います。
概要を知りたい場合は、下記のIBMのサイトの解説は参考になる...
http://www.ibm.com/developerworks/jp/web/library/wa-testw...
*play!のseleniumについてのメモ [#h28c5f1e]
*やり方 [#rbc6e875]
+プロジェクトの直下にtestというフォルダを作る。
+Application.test.htmlをフォルダに格納する
+play test プロジェクト名 でテストモードで立ち上げる
+次のアドレスを開くhttp://localhost:9000/@tests
*play!framework1.2.5での説明 [#f8674cfd]
http://playdocja.appspot.com/documentation/1.2.5/guide10
*標準的な Selenium 構文 [#s5252ed7]
標準的な Selenium 構文はSeleneseと呼ばれています。
**日本語の説明 [#q973909f]
日本語に翻訳してあるSelenese説明ページ
http://oss.infoscience.co.jp/seleniumhq/docs/04_selenese_...
上記の説明では
verifyTextPresent
となっているところが、
play!frameworkでは
assertTextPresent
となっているかんじですかね。
***Seleneseの英語 の説明ページ[#he9d2828]
http://seleniumhq.org/docs/02_selenium_ide.html#selenium-...
*Seleniumの解説 [#rdd9cd10]
http://seleniumhq.org/
*Selenium IDE Plugins [#ycbc1f9c]
http://seleniumhq.org/projects/ide/
*Selenium-IDE ― Selenium Documentation [#v28e6070]
http://seleniumhq.org/docs/02_selenium_ide.html#selenium-...
*サンプル [#ye92a742]
yabe/test/Application.test.html
*いま勉強中の疑問 [#ded96d7e]
//指定した箇所に指定した文字列を記述する必要があるの...
//submitボタンもidがないとつらいのではないか?
//メソッドのリファレンスはどこか
//type('password', 'secret')
//clickAndWait('signin')
//assertText('success', 'Welcom admin!')
*Seleniumがどうやってうごいているのか説明 [#p73a5a69]
http://www.devinprogress.info/2011/04/how-play-framework-...
終了行:
*目次 [#q547d8ad]
#contents
*seleniumってなに [#j330a794]
**Selenium RC を使って Web アプリケーションをテストする [...
play!frameworkには、はじめからseleniumがバンドルされてい...
Selenium RC をダウンロードしてインストール
とかは不要だと思います。
概要を知りたい場合は、下記のIBMのサイトの解説は参考になる...
http://www.ibm.com/developerworks/jp/web/library/wa-testw...
*play!のseleniumについてのメモ [#h28c5f1e]
*やり方 [#rbc6e875]
+プロジェクトの直下にtestというフォルダを作る。
+Application.test.htmlをフォルダに格納する
+play test プロジェクト名 でテストモードで立ち上げる
+次のアドレスを開くhttp://localhost:9000/@tests
*play!framework1.2.5での説明 [#f8674cfd]
http://playdocja.appspot.com/documentation/1.2.5/guide10
*標準的な Selenium 構文 [#s5252ed7]
標準的な Selenium 構文はSeleneseと呼ばれています。
**日本語の説明 [#q973909f]
日本語に翻訳してあるSelenese説明ページ
http://oss.infoscience.co.jp/seleniumhq/docs/04_selenese_...
上記の説明では
verifyTextPresent
となっているところが、
play!frameworkでは
assertTextPresent
となっているかんじですかね。
***Seleneseの英語 の説明ページ[#he9d2828]
http://seleniumhq.org/docs/02_selenium_ide.html#selenium-...
*Seleniumの解説 [#rdd9cd10]
http://seleniumhq.org/
*Selenium IDE Plugins [#ycbc1f9c]
http://seleniumhq.org/projects/ide/
*Selenium-IDE ― Selenium Documentation [#v28e6070]
http://seleniumhq.org/docs/02_selenium_ide.html#selenium-...
*サンプル [#ye92a742]
yabe/test/Application.test.html
*いま勉強中の疑問 [#ded96d7e]
//指定した箇所に指定した文字列を記述する必要があるの...
//submitボタンもidがないとつらいのではないか?
//メソッドのリファレンスはどこか
//type('password', 'secret')
//clickAndWait('signin')
//assertText('success', 'Welcom admin!')
*Seleniumがどうやってうごいているのか説明 [#p73a5a69]
http://www.devinprogress.info/2011/04/how-play-framework-...
ページ名: