Page MenuHomec4science

test_message_deleteall.html
No OneTemporary

File Metadata

Created
Tue, Nov 19, 11:31

test_message_deleteall.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="http://localhost" />
<title>test_message_deleteall</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">test_message_deleteall</td></tr>
</thead><tbody>
<!--DESCRIPTION
romeo sends 2 msgs to juliet
juliet deletes msgs
"delete all" is tested
-->
<tr>
<td>open</td>
<td>http://localhost</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=login</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>p_un</td>
<td>romeo</td>
</tr>
<tr>
<td>type</td>
<td>p_pw</td>
<td>r123omeo</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>action</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Your messages</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>del_all</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>msg_to_user</td>
<td>juliet</td>
</tr>
<tr>
<td>type</td>
<td>msg_subject</td>
<td>Dear juliet</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>send_button</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>del_all</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>msg_to_user</td>
<td>juliet</td>
</tr>
<tr>
<td>type</td>
<td>msg_subject</td>
<td>Dear juliet 2</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>send_button</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=logout</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=login here</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>p_un</td>
<td>juliet</td>
</tr>
<tr>
<td>type</td>
<td>p_pw</td>
<td>j123uliet</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>action</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Your messages</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//input[@name='del_all' and @value='Delete All']</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//input[@value='Yes']</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>No messages</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=logout</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>

Event Timeline