AlternC/selenium/alternc.domain-local-mail-t...

273 lines
4.6 KiB
HTML
Raw Permalink Normal View History

<?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="http://ac.local" />
<title>alternc.domain-local-mail-tld</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">alternc.domain-local-mail-tld</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>To connect to the hosting control panel</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=username</td>
<td>admin</td>
</tr>
<tr>
<td>type</td>
<td>id=password</td>
<td>admin</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>name=submit</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Last Login:</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Add a domain</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//div[@id='menu-adm']/ul/li[3]/a/span</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Manage allowed domains (TLD)</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>xpath=(//a[contains(text(),'Add a new TLD')])[2]</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=tld</td>
<td>local</td>
</tr>
<tr>
<td>select</td>
<td>id=mode</td>
<td>label=Domain can be installed, no check at all</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>css=input.inb</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>The TLD has been successfully added</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Add a domain</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>host my dns here</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=newdomain</td>
<td>alternc.local</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>name=submit</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td> Your new domain alternc.local has been successfully installed</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Click here to continue</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>waitTime=5000</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//div[@id='menu-mail']/ul/li/a</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Create a new mail account</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=mail_arg</td>
<td>test</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>name=submit</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Editing the email test@alternc.local</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>id=islocal1</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=pass</td>
<td>test</td>
</tr>
<tr>
<td>type</td>
<td>id=passconf</td>
<td>test</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>name=submit</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>The password policy prevents you to use your login name inside your password </td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=pass</td>
<td>CoinCoin</td>
</tr>
<tr>
<td>type</td>
<td>id=passconf</td>
<td>CoinCoin</td>
</tr>
<tr>
<td>type</td>
<td>id=quotamb</td>
<td>10</td>
</tr>
<tr>
<td>type</td>
<td>id=recipients</td>
<td>test2@alternc.local</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>name=submit</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Your email has been edited successfully</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>test2@alternc.local</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=alternc.local</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>name=detruire</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Confirm the deletion of domain alternc.local</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>name=submit</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td> The domain alternc.local has been successfully deleted.</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Click here to continue</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//div[@id='menu-adm']/ul/li[3]/a/span</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Manage allowed domains (TLD)</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>id=sel10</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//input[@value='Delete the checked TLD']</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>The requested TLD has been deleted</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Home / Information</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Account admin</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>