Test Click
open | /eduCommons/logout |
open | /eduCommons/Courses |
open | /eduCommons/Index |
open | /eduCommons/login_form |
type | //input[@id='__ac_name'] | manager
type | //input[@id='__ac_password'] | manager
clickAndWait | submit |
open | /eduCommons/Courses |
open | /eduCommons/prefs_users_overview |
clickAndWait | //input[@value='Add New User'] |
type | //input[@name='username'] | qa
type | //input[@name='email'] | qa@nowhere.com
type | //input[@name='password'] | asdfasdf
type | //input[@name='confirm'] | asdfasdf
type | //input[@name='fullname'] | qa user
clickAndWait | //input[@value='Register'] |
assertText | //div[@class='portalMessage'] | New user added
clickAndWait | //input[@value='Add New User'] |
type | //input[@name='username'] | producer
type | //input[@name='email'] | producer@nowhere.com
type | //input[@name='password'] | asdfasdf
type | //input[@name='confirm'] | asdfasdf
type | //input[@name='fullname'] | producer user
clickAndWait | //input[@value='Register'] |
assertText | //div[@class='portalMessage'] | New user added
clickAndWait | //input[@value='Add New User'] |
type | //input[@name='username'] | publisher
type | //input[@name='email'] | publisher@nowhere.com
type | //input[@name='password'] | asdfasdf
type | //input[@name='confirm'] | asdfasdf
type | //input[@name='fullname'] | publisher user
clickAndWait | //input[@value='Register'] |
assertText | //div[@class='portalMessage'] | New user added
clickAndWait | //input[@value='Add New User'] |
type | //input[@name='username'] | viewer
type | //input[@name='email'] | viewer@nowhere.com
type | //input[@name='password'] | asdfasdf
type | //input[@name='confirm'] | asdfasdf
type | //input[@name='fullname'] | viewer user
clickAndWait | //input[@value='Register'] |
assertText | //div[@class='portalMessage'] | New user added
clickAndWait | //input[@value='Add New User'] |
type | //input[@name='username'] | administrator
type | //input[@name='email'] | administrator@nowhere.com
type | //input[@name='password'] | asdfasdf
type | //input[@name='confirm'] | asdfasdf
type | //input[@name='fullname'] | administrator user
clickAndWait | //input[@value='Register'] |
assertText | //div[@class='portalMessage'] | New user added
select | //select[@name='roles-qa'] | QA
select | //select[@name='roles-administrator'] | Administrator
select | //select[@name='roles-publisher'] | Publisher
select | //select[@name='roles-viewer'] | Viewer
select | //select[@name='roles-producer'] | Producer
clickAndWait | //input[@value='Apply Changes'] |
assertSelected | //select[@name='roles-qa'] | QA
assertSelected | //select[@name='roles-administrator'] | Administrator
assertSelected | //select[@name='roles-publisher'] | Publisher
assertSelected | //select[@name='roles-viewer'] | Viewer
assertSelected | //select[@name='roles-producer'] | Producer
assertText | //div[@class='portalMessage'] | Changes made.