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:
PriestJ
2008-03-17 14:32:25 +00:00
parent 30c3f98e35
commit fe6f78e4d0

View File

@@ -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.button(:value,'Login').click
@@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
@@ie.text_field(:id,'P101_USERNAME').set 'not_a_user'
@@ie.text_field(:id,'P101_PASSWORD').set 'password'