altered tesst after updaing watir on loordv01, watir is now more strict when it comes to finding tags, you can't say,"find a text_field" and it will find the radio button version for you.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@6165 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
PriestJ
2008-08-07 14:46:02 +00:00
parent 793a9b49a1
commit 2bc6594e0d
5 changed files with 31 additions and 30 deletions

View File

@@ -76,7 +76,7 @@ class Test_09_MIPADMIN_party_management< Test::Unit::TestCase
assert(@@ie.text_field(:id,'P61_COMMENTS').exists?,'Could not find P61_COMMENTS field')
assert(@@ie.text_field(:id,'P61_PASSWORD').exists?,'Could not find P61_PASSWORD file upload field')
assert(@@ie.text_field(:id,'P61_REPEAT_PASSWORD').exists?,'Could not find P61_REPEAT_PASSWORD file upload field')
assert(@@ie.checkbox(:id,'P61_EXPIRE_PWORD').exists?,'Could not find P61_EXPIRE_PWORD checkbox')
assert(@@ie.radio(:id,'P61_EXPIRE_PWORD').exists?,'Could not find P61_EXPIRE_PWORD radio buttons')
#Test the objects on P62
@@ie.goto(ASSIGN_PARTY_ROLE)
@@ -556,7 +556,8 @@ class Test_11_edit_parties< Test::Unit::TestCase
@@ie.link(:name,'Edit Current User').click
assert(@@ie.button(:value,'Cancel').exists?,'Could not find Cancel button(user fields)')
assert(@@ie.button(:value,'Apply Changes').exists?,'Could not find Apply Changes button')
assert(@@ie.select_list(:id,'P66_STATUS').exists?,'Could not find P66_STATUS select list')
#Status is a display only field
#assert(@@ie.select_list(:id,'P66_STATUS').exists?,'Could not find P66_STATUS select list')
assert(@@ie.text_field(:id,'P66_FIRST_NAME').exists?,'Could not find P66_FIRST_NAME field')
assert(@@ie.text_field(:id,'P66_LAST_NAME').exists?,'Could not find P66_LAST_NAME field')
assert(@@ie.text_field(:id,'P66_PERSONAL_TITLE').exists?,'Could not find P66_PERSONAL_TITLE field')