Modified advertising test to be complete test.

This commit is contained in:
Daniel Maldonado 2012-07-05 13:11:55 -04:00 committed by Scott Walters
parent 0bc252b179
commit cd5f29f5dc
10 changed files with 120 additions and 68 deletions

View file

@ -17,11 +17,15 @@
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>verifyElementPresent</td>
<td>css=img[alt=&quot;Delete&quot;]</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>css=img[alt=&quot;Delete&quot;]</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>

View file

@ -11,27 +11,21 @@
<thead>
<tr><td rowspan="1" colspan="3">Addons</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/?op=viewActiveSessions</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Show admin console.</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>css=img[alt=&quot;Addons&quot;]</td>
<td></td>
<td>assertText</td>
<td>link=Addons</td>
<td>Addons</td>
</tr>
<tr>
<td>assertLocation</td>
<td></td>
<td>http://www.webgui.org/addons </td>
</tr>
<tr>
<td>open</td>
<td></td>
<td>/</td>
</tr>
</tbody></table>
</body>
</html>

View file

@ -11,9 +11,74 @@
<thead>
<tr><td rowspan="1" colspan="3">Advertising</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/?op=manageAdSpaces</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>css=img[alt=&quot;Advertising&quot;]</td>
<td>link=Add ad space.</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=name_formId</td>
<td>testAd</td>
</tr>
<tr>
<td>type</td>
<td>id=title_formId</td>
<td>Just a test Ad</td>
</tr>
<tr>
<td>type</td>
<td>id=description_formId</td>
<td>Just a test ad to ...</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>xpath=(//input[@value='save'])[2]</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Manage ad spaces.</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Just a test Ad</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>css=img[alt=&quot;Edit&quot;]</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=title_formId</td>
<td>Just a test Ad (Changed)</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>css=input[type=&quot;submit&quot;]</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Just a test Ad (Changed)</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>css=img[alt=&quot;Delete&quot;]</td>
<td></td>
</tr>
<tr>
<td>assertConfirmation</td>
<td>Are you certain you want to delete this ad space and all the ads attached to it?</td>
<td></td>
</tr>
<tr>
@ -21,7 +86,6 @@
<td>id=application_title</td>
<td>Advertising</td>
</tr>
</tbody></table>
</body>
</html>

View file

@ -12,8 +12,8 @@
<tr><td rowspan="1" colspan="3">Asset History</td></tr>
</thead><tbody>
<tr>
<td>clickAndWait</td>
<td>css=img[alt=&quot;Asset History&quot;]</td>
<td>open</td>
<td>/?op=assetHistory</td>
<td></td>
</tr>
<tr>
@ -21,7 +21,6 @@
<td>id=application_title</td>
<td>Asset History</td>
</tr>
</tbody></table>
</body>
</html>

View file

@ -12,8 +12,8 @@
<tr><td rowspan="1" colspan="3">Cache</td></tr>
</thead><tbody>
<tr>
<td>clickAndWait</td>
<td>css=img[alt=&quot;Cache&quot;]</td>
<td>open</td>
<td>/?op=manageCache</td>
<td></td>
</tr>
<tr>
@ -26,7 +26,6 @@
<td>css=input[type=&quot;button&quot;]</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>

View file

@ -13,12 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
<td>/?op=viewActiveSessions#</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>css=img[alt=&quot;Clipboard&quot;]</td>
<td>/?func=manageClipboard</td>
<td></td>
</tr>
<tr>
@ -36,7 +31,6 @@
<td>//input[@value='Delete']</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>

View file

@ -1,26 +0,0 @@
<?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>showAdminConsole</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">showAdminConsole</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/?op=viewActiveSessions</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Show admin console.</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>

View file

@ -9,17 +9,11 @@
<table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium"><tbody>
<tr><td><b>Test Suite</b></td></tr>
<tr><td><a href="activeSessions.html">Active Sessions</a></td></tr>
<tr><td><a href="showAdminConsole.html">showAdminConsole</a></td></tr>
<tr><td><a href="addons.html">Addons</a></td></tr>
<tr><td><a href="showAdminConsole.html">showAdminConsole</a></td></tr>
<tr><td><a href="advertising.html">Advertising</a></td></tr>
<tr><td><a href="showAdminConsole.html">showAdminConsole</a></td></tr>
<tr><td><a href="assetHistory.html">Asset History</a></td></tr>
<tr><td><a href="showAdminConsole.html">showAdminConsole</a></td></tr>
<tr><td><a href="cache.html">Cache</a></td></tr>
<tr><td><a href="showAdminConsole.html">showAdminConsole</a></td></tr>
<tr><td><a href="clipboard.html">Clipboard</a></td></tr>
<tr><td><a href="showAdminConsole.html">showAdminConsole</a></td></tr>
</tbody></table>
</body>
</html>