02_toDo_001
open /cubby-showcase/
clickAndWait link=Todoサンプルアプリケーション
verifyTextPresent Todoログイン
clickAndWait link=戻る
verifyTextPresent Cubby Exmaples
clickAndWait link=Todoサンプルアプリケーション
verifyTextPresent Todoログイン
verifyTextPresent ログインしていません。
clickAndWait //input[@value='ログイン']
verifyTextPresent Todoログイン
verifyTextPresent ユーザ名は空文字です。
verifyTextPresent パスワードは空文字です。
type userId test
clickAndWait //input[@value='ログイン']
verifyTextPresent パスワードは空文字です。
type userId
type password test
clickAndWait //input[@value='ログイン']
verifyTextPresent ユーザ名は空文字です。
type userId hoge
type password hoge
clickAndWait //input[@value='ログイン']
verifyTextPresent ユーザIDかパスワードが違います。
type userId test
type password test
clickAndWait //input[@value='ログイン']
verifyTitle Todoリスト
verifyTextPresent Todoの一覧
clickAndWait //input[@value='検索']
verifyTitle Todoリスト
clickAndWait link=新規作成
verifyTitle Todo編集
verifyTextPresent Todo編集
clickAndWait link=一覧に戻る
verifyTitle Todoリスト
clickAndWait link=新規作成
verifyTitle Todo編集
clickAndWait //input[@value='次へ']
verifyTitle Todo編集
verifyTextPresent タイトルは空文字です。
verifyTextPresent メモは空文字です。
verifyTextPresent 種別はヌル値ではいけません。
type limitDate 2008/02/99
clickAndWait //input[@value='次へ']
verifyTextPresent 期限日の日付の形式が正しくありません。
verifyTitle Todo編集
type text テストタイトル
select typeId label=type1
type limitDate 2008-02-01
type memo テストメモ
clickAndWait //input[@value='次へ']
verifyTitle Todo編集確認
verifyTextPresent テストタイトル
verifyTextPresent type1
verifyTextPresent 2008-02-01
verifyTextPresent テストメモ
clickAndWait //input[@value='登録']
verifyTitle Todoリスト
verifyTextPresent テストタイトルを追加しました。
clickAndWait //input[@value='検索']
verifyTitle Todoリスト
type keyword keyword
type keyword
clickAndWait //input[@value='検索']
verifyTextPresent glob:テストタイトル*type1*2008-02-01 *[削除]
type keyword テストタイトル
select typeId label=type1
type limitDate 2008-02-01
clickAndWait //input[@value='検索']
verifyTextPresent glob:テストタイトル*type1*2008-02-01 *[削除]
clickAndWait link=テストタイトル
verifyTitle Todo詳細
verifyTextPresent テストタイトル
verifyTextPresent type1
verifyTextPresent 2008-02-01
verifyTextPresent テストメモ
clickAndWait link=一覧に戻る
verifyTitle Todoリスト
clickAndWait link=テストタイトル
clickAndWait link=編集
type text テストタイトル編集
type limitDate 2009-02-01
type memo テストメモ編集
select typeId label=type2
clickAndWait //input[@value='次へ']
verifyTitle Todo編集確認
verifyTextPresent Todo編集確認
verifyTextPresent テストタイトル編集
verifyTextPresent type2
verifyTextPresent 2009-02-01
verifyTextPresent テストメモ編集
clickAndWait //input[@value='登録']
verifyTextPresent Todoの一覧
verifyTextPresent テストタイトル編集を更新しました。
type keyword
select typeId label=
type limitDate
clickAndWait //input[@value='検索']
verifyTextPresent glob:テストタイトル編集*type2*2009-02-01*[削除]
click link=削除
verifyConfirmation 「テストタイトル編集」削除します。よろしいですか?
verifyTitle Todoリスト
clickAndWait link=ログアウト
verifyTitle Todoログイン