Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adding frameless tests to get around WebGUI/Selenium frame issue (may…
… be a temporary solution)
  • Loading branch information
dannymk committed Jul 3, 2012
1 parent 79c2fff commit b5b8f96
Show file tree
Hide file tree
Showing 9 changed files with 243 additions and 0 deletions.
Binary file removed selenium/.DS_Store
Binary file not shown.
27 changes: 27 additions & 0 deletions selenium/frameless/activeSessions.html
@@ -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>
37 changes: 37 additions & 0 deletions selenium/frameless/addons.html
@@ -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>
27 changes: 27 additions & 0 deletions selenium/frameless/advertising.html
@@ -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>
27 changes: 27 additions & 0 deletions selenium/frameless/assetHistory.html
@@ -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>
32 changes: 32 additions & 0 deletions selenium/frameless/cache.html
@@ -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>
42 changes: 42 additions & 0 deletions selenium/frameless/clipboard.html
@@ -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>
26 changes: 26 additions & 0 deletions selenium/frameless/showAdminConsole.html
@@ -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>
25 changes: 25 additions & 0 deletions selenium/frameless/suite.html
@@ -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>

0 comments on commit b5b8f96

Please sign in to comment.