altered incorrect reference to error message for null password
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4026 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -31,7 +31,7 @@ class Test_01_login_screen < Test::Unit::TestCase
|
|||||||
@@ie.radio( :id,'P101_TC_ACCEPTED_0').set #'I accept the Terms and Conditions of using this site'
|
@@ie.radio( :id,'P101_TC_ACCEPTED_0').set #'I accept the Terms and Conditions of using this site'
|
||||||
@@ie.button(:value,'Login').click
|
@@ie.button(:value,'Login').click
|
||||||
@@ie.wait
|
@@ie.wait
|
||||||
assert(@@ie.contains_text('Value must be specified.'),'Expected not null error on password.')
|
assert(@@ie.contains_text('Invalid username/password specified.'),'Expected password error.')
|
||||||
# test that a valid user must be given
|
# test that a valid user must be given
|
||||||
@@ie.text_field(:id,'P101_USERNAME').set 'not_a_user'
|
@@ie.text_field(:id,'P101_USERNAME').set 'not_a_user'
|
||||||
@@ie.text_field(:id,'P101_PASSWORD').set 'password'
|
@@ie.text_field(:id,'P101_PASSWORD').set 'password'
|
||||||
|
|||||||
Reference in New Issue
Block a user