Commit 1c598c68 authored by Nigel McNie's avatar Nigel McNie
Browse files

Added the rest of the tests from Cristina

parent c66e0920
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Change_Password</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Change_Password</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Settings</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>accountprefs_oldpassword</td>
<td>password1</td>
</tr>
<tr>
<td>type</td>
<td>accountprefs_password1</td>
<td>mahara1</td>
</tr>
<tr>
<td>type</td>
<td>accountprefs_password2</td>
<td>mahara1</td>
</tr>
<tr>
<td>click</td>
<td>accountprefs_submit</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Home</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Logout</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>login_login_username</td>
<td>admin</td>
</tr>
<tr>
<td>type</td>
<td>login_login_password</td>
<td>mahara1</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>login_submit</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Edit Profile</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Edit Profile</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Profile</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>profileform_firstname</td>
<td>Administrator</td>
</tr>
<tr>
<td>type</td>
<td>profileform_lastname</td>
<td>User Admin</td>
</tr>
<tr>
<td>type</td>
<td>profileform_studentid</td>
<td>1234</td>
</tr>
<tr>
<td>type</td>
<td>profileform_preferredname</td>
<td>Admin</td>
</tr>
<tr>
<td>click</td>
<td>link=Add email address</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>document.profileform.elements[10]</td>
<td>cri@catalyst.net.nz</td>
</tr>
<tr>
<td>type</td>
<td>profileform_officialwebsite</td>
<td>www.catalyst.net.nz</td>
</tr>
<tr>
<td>type</td>
<td>profileform_personalwebsite</td>
<td>www.stuff.co.nz</td>
</tr>
<tr>
<td>type</td>
<td>profileform_blogaddress</td>
<td>www.blog.com</td>
</tr>
<tr>
<td>type</td>
<td>profileform_address</td>
<td>150 Willis Street</td>
</tr>
<tr>
<td>type</td>
<td>profileform_city</td>
<td>CBD</td>
</tr>
<tr>
<td>type</td>
<td>profileform_homenumber</td>
<td>04928375</td>
</tr>
<tr>
<td>type</td>
<td>profileform_businessnumber</td>
<td>040298375</td>
</tr>
<tr>
<td>type</td>
<td>profileform_mobilenumber</td>
<td>0272093875482</td>
</tr>
<tr>
<td>type</td>
<td>profileform_faxnumber</td>
<td>09237842</td>
</tr>
<tr>
<td>type</td>
<td>profileform_icqnumber</td>
<td>923854</td>
</tr>
<tr>
<td>type</td>
<td>profileform_msnnumber</td>
<td>admin</td>
</tr>
<tr>
<td>type</td>
<td>profileform_aimscreenname</td>
<td>admin</td>
</tr>
<tr>
<td>type</td>
<td>profileform_yahoochat</td>
<td>admin</td>
</tr>
<tr>
<td>type</td>
<td>profileform_skypeusername</td>
<td>admin</td>
</tr>
<tr>
<td>type</td>
<td>profileform_jabberusername</td>
<td>admin</td>
</tr>
<tr>
<td>type</td>
<td>profileform_occupation</td>
<td>it</td>
</tr>
<tr>
<td>type</td>
<td>profileform_industry</td>
<td>it</td>
</tr>
<tr>
<td>click</td>
<td>profileform_submit</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Home</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Profile Icon</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Profile Icon</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Profile</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Profile Icons</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>upload_file</td>
<td>C:\Documents and Settings\cristina\My Documents\My Pictures\General Templates\linuxforgirls.png</td>
</tr>
<tr>
<td>type</td>
<td>upload_title</td>
<td>icon</td>
</tr>
<tr>
<td>click</td>
<td>upload_submit</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>upload_file</td>
<td>C:\Documents and Settings\cristina\My Documents\My Pictures\Houses drafts for Propertystuff\crilogo.jpg</td>
</tr>
<tr>
<td>type</td>
<td>upload_title</td>
<td>icon</td>
</tr>
<tr>
<td>click</td>
<td>upload_submit</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Random_Clicking</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Random_Clicking</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Groups</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Home</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Profile</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=My Portfolio</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Groups</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Groups I Own</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Groups I'm In</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Groups I Own</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Settings</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Recent activity</td>
<td></td>
</tr>
<tr>
<td>select</td>
<td>type</td>
<td>label=Message from other users</td>
</tr>
<tr>
<td>click</td>
<td>//input[@value='Mark as read']</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Activity preferences</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Home</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Site Administration</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Site options</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Site pages</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Site menu</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Admin Files</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Networking</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Manage Users</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Staff Users</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Admin Users</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Admin Notifications</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Institutions</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Add Users by CSV</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=User Search</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Administer Extensions</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Configure View Templates</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Manage Users</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Return to Site</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>add_new_group</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">add_new_group</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Groups</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Groups I Own</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Add new group</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>creategroup_name</td>
<td>Admin Test Group</td>
</tr>
<tr>
<td>select</td>
<td>creategroup_membershiptype</td>
<td>label=Invite Only</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>creategroup_submit</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Add new group</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>creategroup_name</td>
<td>Admin VIP Group</td>
</tr>
<tr>
<td>select</td>
<td>creategroup_membershiptype</td>
<td>label=Request Membership</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>creategroup_submit</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Add new group</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>creategroup_name</td>
<td>Public discussion</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>creategroup_submit</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Add new group</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>creategroup_name</td>
<td>Controll Group</td>
</tr>
<tr>
<td>select</td>
<td>creategroup_membershiptype</td>
<td>label=Controlled Membership</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>creategroup_submit</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>create_new_view_1</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">create_new_view_1</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=My Portfolio</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>createnew</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>createview1_title</td>
<td>test view</td>
</tr>
<tr>
<td>click</td>
<td>//img[contains(@src,'http://mahara-test-trunk.freud.wgtn.cat-it.co.nz/theme/default/static/images/calendar.gif')]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//tr[6]/td/a/img</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>createview1_startdate</td>
<td>2007/09/01 16:20</td>
</tr>
<tr>
<td>type</td>
<td>createview1_tags</td>
<td>test</td>
</tr>
<tr>
<td>select</td>
<td>createview1_ownerformat</td>
<td>label=First name (Administrator)</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>createview1_submit</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>document.template_selection.elements[9]</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>template_submit</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@type='button']</td>
<td></td>