made corrections due to new functionality/list values etc.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3642 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -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_0').exists?,'Could not find P61_EXPIRE_PWORD_0 checkbox')
|
||||
assert(@@ie.checkbox(:id,'P61_EXPIRE_PWORD').exists?,'Could not find P61_EXPIRE_PWORD checkbox')
|
||||
|
||||
#Test the objects on P62
|
||||
@@ie.goto(ASSIGN_PARTY_ROLE)
|
||||
@@ -160,7 +160,7 @@ class Test_09_MIPADMIN_party_management< Test::Unit::TestCase
|
||||
@@ie.button(:value,'Next >').click
|
||||
|
||||
#Select a role for the party
|
||||
@@ie.select_list(:id,'P62_PRTY_ROLE').set('Service supplier')
|
||||
@@ie.select_list(:id,'P62_PRTY_ROLE').set('Gas supplier')
|
||||
@@ie.wait
|
||||
#fill in the contact details bits and bobs
|
||||
@@ie.text_field(:id,'P62_PHONE').set('01234 567890')
|
||||
@@ -198,7 +198,7 @@ class Test_09_MIPADMIN_party_management< Test::Unit::TestCase
|
||||
#menu('Create Party')
|
||||
|
||||
#create a new party
|
||||
@@ie.button(:id,'Create Another').click
|
||||
@@ie.button(:name,'CreateAnother').click
|
||||
#select the type of party to create
|
||||
@@ie.select_list(:id,'P61_PRTY_TYPE').set('User')
|
||||
|
||||
@@ -211,7 +211,7 @@ class Test_09_MIPADMIN_party_management< Test::Unit::TestCase
|
||||
@@ie.text_field(:id,'P61_COMMENTS').set('This is the administrator for Supplier1. Created for testing.')
|
||||
@@ie.text_field(:id,'P61_PASSWORD').set('Passw0rd.')
|
||||
@@ie.text_field(:id,'P61_REPEAT_PASSWORD').set('Passw0rd.')
|
||||
#@@ie.checkbox(:id,'P61_EXPIRE_PWORD_0').set('') #Leave the user OPEN
|
||||
@@ie.checkbox(:id,'P61_EXPIRE_PWORD').set('NO') #Leave the user OPEN
|
||||
|
||||
@@ie.button(:value,'Next >').click
|
||||
@@ie.wait
|
||||
@@ -269,7 +269,7 @@ class Test_09_MIPADMIN_party_management< Test::Unit::TestCase
|
||||
@@ie.text_field(:id,'P61_COMMENTS').set('This is an agent for Supplier1. Created for testing.')
|
||||
@@ie.text_field(:id,'P61_PASSWORD').set('Passw0rd.')
|
||||
@@ie.text_field(:id,'P61_REPEAT_PASSWORD').set('Passw0rd.')
|
||||
#@@ie.checkbox(:id,'P61_EXPIRE_PWORD_0').set('') #Leave the user OPEN
|
||||
@@ie.checkbox(:id,'P61_EXPIRE_PWORD').set('NO') #Leave the user OPEN
|
||||
|
||||
@@ie.button(:value,'Next >').click
|
||||
@@ie.wait
|
||||
@@ -327,7 +327,7 @@ class Test_09_MIPADMIN_party_management< Test::Unit::TestCase
|
||||
@@ie.text_field(:id,'P61_COMMENTS').set('This is a customer service for Supplier1. Created for testing.')
|
||||
@@ie.text_field(:id,'P61_PASSWORD').set('Passw0rd.')
|
||||
@@ie.text_field(:id,'P61_REPEAT_PASSWORD').set('Passw0rd.')
|
||||
#@@ie.checkbox(:id,'P61_EXPIRE_PWORD_0').set('') #Leave the user OPEN
|
||||
@@ie.checkbox(:id,'P61_EXPIRE_PWORD').set('NO') #Leave the user OPEN
|
||||
|
||||
@@ie.button(:value,'Next >').click
|
||||
@@ie.wait
|
||||
@@ -386,7 +386,7 @@ class Test_09_MIPADMIN_party_management< Test::Unit::TestCase
|
||||
@@ie.text_field(:id,'P61_COMMENTS').set('This is an ICU user for Supplier1. Created for testing.')
|
||||
@@ie.text_field(:id,'P61_PASSWORD').set('Passw0rd.')
|
||||
@@ie.text_field(:id,'P61_REPEAT_PASSWORD').set('Passw0rd.')
|
||||
#@@ie.checkbox(:id,'P61_EXPIRE_PWORD_0').set('') #Leave the user OPEN
|
||||
@@ie.checkbox(:id,'P61_EXPIRE_PWORD').set('NO') #Leave the user OPEN
|
||||
|
||||
@@ie.button(:value,'Next >').click
|
||||
@@ie.wait
|
||||
|
||||
Reference in New Issue
Block a user