Adding frameless tests to get around WebGUI/Selenium frame issue (may be a temporary solution)

This commit is contained in:
Daniel Maldonado 2012-07-03 10:33:02 -04:00
parent 79c2fffbba
commit b5b8f96bac
9 changed files with 243 additions and 0 deletions

BIN
selenium/.DS_Store vendored

Binary file not shown.

View file

@ -0,0 +1,27 @@
<?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>Active Sessions</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Active Sessions</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/?op=viewActiveSessions</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>css=img[alt=&quot;Delete&quot;]</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>

View file

@ -0,0 +1,37 @@
<?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>Addons</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Addons</td></tr>
</thead><tbody>
<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>
</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

@ -0,0 +1,27 @@
<?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>clickAndWait</td>
<td>css=img[alt=&quot;Advertising&quot;]</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
<td>id=application_title</td>
<td>Advertising</td>
</tr>
</tbody></table>
</body>
</html>

View file

@ -0,0 +1,27 @@
<?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>Asset History</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<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></td>
</tr>
<tr>
<td>assertText</td>
<td>id=application_title</td>
<td>Asset History</td>
</tr>
</tbody></table>
</body>
</html>

View file

@ -0,0 +1,32 @@
<?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>Cache</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Cache</td></tr>
</thead><tbody>
<tr>
<td>clickAndWait</td>
<td>css=img[alt=&quot;Cache&quot;]</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
<td>id=application_title</td>
<td>Cache</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>css=input[type=&quot;button&quot;]</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>

View file

@ -0,0 +1,42 @@
<?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>Clipboard</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Clipboard</td></tr>
</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></td>
</tr>
<tr>
<td>assertText</td>
<td>id=application_title</td>
<td>Clipboard</td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//input[@value='Restore']</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//input[@value='Delete']</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>

View file

@ -0,0 +1,26 @@
<?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

@ -0,0 +1,25 @@
<?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>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
<title>Test Suite</title>
</head>
<body>
<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>