Location: PHPKode > projects > JaxBlog > JaxBlog/resource/selenium/admin/testAdminUsers.html
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>testAdminUsers</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">testAdminUsers</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>JaxBlog/app/admin/admin_home/admin_home.php</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Users</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Add</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>submit</td>
	<td></td>
</tr>
<tr>
	<td>assertAlert</td>
	<td>You must enter a username to continue.</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>user_name</td>
	<td>test</td>
</tr>
<tr>
	<td>click</td>
	<td>submit</td>
	<td></td>
</tr>
<tr>
	<td>assertAlert</td>
	<td>You must enter a password to continue.</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>user_password</td>
	<td>test</td>
</tr>
<tr>
	<td>click</td>
	<td>submit</td>
	<td></td>
</tr>
<tr>
	<td>assertAlert</td>
	<td>The password you entered does not pass the strength test.</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>user_password</td>
	<td>test123</td>
</tr>
<tr>
	<td>click</td>
	<td>submit</td>
	<td></td>
</tr>
<tr>
	<td>assertAlert</td>
	<td>You must enter an email address to continue.</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>user_email</td>
	<td>hide@address.com</td>
</tr>
<tr>
	<td>click</td>
	<td>submit</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=test</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>submit</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=test</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>user_password</td>
	<td>test</td>
</tr>
<tr>
	<td>click</td>
	<td>submit</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=test</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>user_first_name</td>
	<td>Test</td>
</tr>
<tr>
	<td>type</td>
	<td>user_last_name</td>
	<td>Test</td>
</tr>
<tr>
	<td>click</td>
	<td>user_never_expires</td>
	<td></td>
</tr>
<tr>
	<td>select</td>
	<td>user_expire_date_month</td>
	<td>label=December</td>
</tr>
<tr>
	<td>select</td>
	<td>user_expire_date_day</td>
	<td>label=20th</td>
</tr>
<tr>
	<td>select</td>
	<td>user_expire_date_day</td>
	<td>label=25th</td>
</tr>
<tr>
	<td>select</td>
	<td>user_expire_date_year</td>
	<td>label=2012</td>
</tr>
<tr>
	<td>click</td>
	<td>submit</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>test</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>hide@address.com</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>Test</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>2012-12-25 00:00:00</td>
	<td></td>
</tr>

</tbody></table>
</body>
</html>
Return current item: JaxBlog