#contents
*Selenium [#n3086bbf]
-[[公式:http://seleniumhq.org/]]
----
-[[Selenium 0.7 利用手順書(前編)(1/3):CodeZine:http://codezine.jp/article/detail/436]]
-[[Selenium 0.7 利用手順書(後編)(1/5):CodeZine:http://codezine.jp/article/detail/452]]
-[[SeleniumでWebアプリケーションテストを自動化:http://www.thinkit.co.jp/free/article/0705/2/1/]]
-[[selenium/ ベストプラクティス:http://www.ark-web.jp/sandbox/wiki/2205.html]]
-[[Selenium 0.7 リファレンスガイド(日本語版):http://wiki.openqa.org/display/SEL/Selenium+0.7+Reference+%28Japanese%29]]
-[[Selenium 1.01 Reference:http://release.seleniumhq.org/selenium-core/1.0.1/reference.html]]
-[[今から3分で selenium の使い方を身に付ける (回帰テスト自動化):http://d.hatena.ne.jp/language_and_engineering/20081016]]
-[[Selenium 中級者になろう (変数+XPath+JavaScriptを,テストケース中で利用する方法):http://d.hatena.ne.jp/language_and_engineering/20090818/p1]]
-[[selenium 主なコマンド一覧:http://d.hatena.ne.jp/language_and_engineering/20081016/1224123118]]
-[[世界一わかりやすい Selenium IDE 入門:http://d.hatena.ne.jp/rti7743/20090913]]
-[[Selenium IDE:http://d.hatena.ne.jp/rti7743/searchdiary?word=Selenium%20IDE]]
-[[Seleniumのお試し(修正版):http://www.chikkun.com/und/document/etc/selenium_intro.html]]
-[[seleniumメモ:http://d.hatena.ne.jp/ndruger/searchdiary?word=*[selenium]]]
-[[Selenium コマンドリファレンス:http://wiki.openqa.org/display/SEL/Command+Reference+ja]]
-[[マスタリングSelenese!:http://labs.mapion.co.jp/blog/test/selenese.php]]
-[[最近の Selenium:http://miau.s9.xrea.com/blog/?itemid=1070]]
-[[Selenium IDE で無限ループ:http://blog.s21g.com/articles/1619]]
----
-[[PEAR::Testing_Selenium テストフレームワークリモートコントロール [dozo dokuwiki.php]:http://dozo.matrix.jp/pear/testing/selenium]]
-[[Selenium RCでテストを楽にする:http://ryus.co.jp/modules/d3blog/details.php?bid=79]]
-[[Selenium RC + PHPUnitのしくみと使用法図解:http://colo-ri.jp/develop/2008/03/selenium_rc_phpunit3.html]]
----
-[[Selenium IDE with an XPath Locator:http://www.msquaredweb.com/blog/articles/SeleniumIDEXPath.html]]
-[[The Automated Tester - Selenium XPath Tutorial::http://www.theautomatedtester.co.uk/seleniumtraining/selenium_xpath.htm]]
-[[SeleniumのためのXPath入門:http://d.hatena.ne.jp/asakusabashi/20050608/p2]]
-[[XPath使いのための日本語チートシート:http://pearl-white.hp.infoseek.co.jp/xpath/]]
**メモ [#p705982c]
リンクにセッションIDが含まれているか確認
|~コマンド|verifyAttribute|
|~対象|link=リンク文字列@href|
|~値|glob:*/index.php?session_id=*|

**文字列パターンマッチング [#b2b269a8]
|~glob|glob:パターン文字列|*は任意の複数の文字を表し、?は任意の1文字を表す。globパターンは文字列全体に対してマッチング|
|~regexp|regexp:正規表現|正規表現を用いた文字列マッチング。JavaScriptの正規表現をフルに使用可能。|
|~exact|exact:文字列|正確に同一の文字列マッチングを行う。「prefix(xxx:)」がない場合、globパターンであると仮定して動作する。|