webgui/selenium/frameless/advertising.html
2012-09-20 14:54:33 -04:00

91 lines
1.8 KiB
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://webgui.dbash.com/" />
<title>Advertising</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<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>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>
<td>assertText</td>
<td>id=application_title</td>
<td>Advertising</td>
</tr>
</tbody></table>
</body>
</html>