UC34_07
open /functionsample-thin/
verifyText //div[@id='screenNameID'] ログオン(画面ID: SC0007)
type userID 00000001
type password password
clickAndWait //input[@type='submit' and @value='ログオン']
verifyText //div[@id='screenNameID'] メニュー(画面ID: SC0001)
clickAndWait link=WK-07 エラーメッセージチェック機能
verifyText //div[@id='screenNameID'] メッセージタグ選択(画面ID: SC3401)
clickAndWait link=ifErrorsタグ
verifyText //div[@id='screenNameID'] エラーメッセージチェック(画面ID: SC3403)
verifyText //span[@id='errorTagifNotErrors'] エラーなし。
verifyAttribute //span[@id='errorTagifNotErrors']//font@color #ff0000
verifyElementNotPresent //span[@id='errorTagifErrors']
verifyElementNotPresent //span[@id='errorTagifErrorsMessage']
type ifErrors testInputValue
clickAndWait //input[@type='submit' and @value=' サブミット ']
verifyText //div[@id='screenNameID'] エラーメッセージチェック(画面ID: SC3403)
verifyText //span[@id='errorTagifNotErrors'] エラーなし。
verifyAttribute //span[@id='errorTagifNotErrors']//font@color #ff0000
verifyElementNotPresent //span[@id='errorTagifErrors']
verifyElementNotPresent //span[@id='errorTagifErrorsMessage']
clickAndWait //input[@type='button' and @value='メニュー画面に戻る']
verifyText //div[@id='screenNameID'] メニュー(画面ID: SC0001)
clickAndWait //input[@type='submit' and @value='ログオフ']
verifyText //div[@id='screenNameID'] ログオン(画面ID: SC0007)