Added tests for content filters/profiling/database and filepump

This commit is contained in:
Daniel Maldonado 2012-07-06 16:48:44 -04:00 • committed by Scott Walters
parent cd5f29f5dc
commit 5c240db09c
4 changed files with 236 additions and 0 deletions

View file

@ -0,0 +1,60 @@
<?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://webgui.dbash.com/" />
<title>New Test</title>
<script type="text/javascript">
function getelements(){
var searchElement=document.getElementById('content_Data').getElementsByTagName("td");
for( var i=0; i<searchElement.length; i++ ){
alert(searchElement[i].nodeValue);
}
}
</script>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">New Test</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/?op=listReplacements</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
<td>id=application_title</td>
<td>Content Filters</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Add a content filter.</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=searchFor_formId</td>
<td>testBadWord</td>
</tr>
<tr>
<td>type</td>
<td>id=replaceWith_formId</td>
<td>testGoodWord</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>xpath=(//input[@value='save'])[2]</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>testBadWord</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>