CVS: Products/Zelenium/www - suiteView.zpt:1.7

Jens Vagelpohl <[email protected]>
Newsgroups gmane.comp.web.zope.public-cvs
Message-ID <[email protected]>
Update of /cvs-repository/Products/Zelenium/www
In directory cvs.zope.org:/tmp/cvs-serv7171/www

Modified Files:
	suiteView.zpt 
Log Message:
- Upgrade to selenium version 0.6


=== Products/Zelenium/www/suiteView.zpt 1.6 => 1.7 ===
--- Products/Zelenium/www/suiteView.zpt:1.6	Tue Jun  7 13:38:15 2005
+++ Products/Zelenium/www/suiteView.zpt	Wed Oct 12 06:38:25 2005
@@ -1,212 +1,164 @@
 <html tal:define="URL context/absolute_url;">
-<head>
- <meta content="text/html; charset=ISO-8859-1"
-       http-equiv="content-type" />
- <title>Selenium Functional Test Runner</title>
- <script language="JavaScript" type="text/javascript"
-         src="/html-xpath/html-xpath-patched.js"
-         tal:attributes="src string:${URL}/html-xpath-patched.js"
-         ></script>
- <script language="JavaScript" type="text/javascript"
-         src="selenium-browserbot.js"
-         tal:attributes="src string:${URL}/selenium-browserbot.js"
-         ></script>
- <script language="JavaScript" type="text/javascript"
-         src="selenium-api.js"
-         tal:attributes="src string:${URL}/selenium-api.js"
-         ></script>
- <script language="JavaScript" type="text/javascript"
-         src="selenium-commandhandlers.js"
-         tal:attributes="src string:${URL}/selenium-commandhandlers.js"
-         ></script>
- <script language="JavaScript" type="text/javascript"
-         src="selenium-executionloop.js"
-         tal:attributes="src string:${URL}/selenium-executionloop.js"
-         ></script>
- <script language="JavaScript" type="text/javascript"
-         src="selenium-fitrunner.js"
-         tal:attributes="src string:${URL}/selenium-fitrunner.js"
-         ></script>
- <script language="JavaScript" type="text/javascript"
-         src="selenium-logging.js"
-         tal:attributes="src string:${URL}/selenium-logging.js"
-         ></script>
- <script language="JavaScript" type="text/javascript"
-         src="htmlutils.js"
-         tal:attributes="src string:${URL}/htmlutils.js"
-         ></script>
- <script language="JavaScript" type="text/javascript"
-         src="selenium-domviewer.js"
-         tal:attributes="src string:${URL}/selenium-domviewer.js"
-         ></script>
- <script language="JavaScript" type="text/javascript"
-         src="xpath.js"
-         tal:attributes="src string:${URL}/xpath.js"
-         ></script>
- <script language="JavaScript" type="text/javascript"
-         src="user-extensions.js"
-         tal:attributes="src string:${URL}/user-extensions.js"
-         ></script>
- <link rel="stylesheet" type="text/css" href="selenium.css"
-       tal:attributes="href string:${URL}/selenium.css" />
-</head>
-
-<body onLoad="start();">
-
- <table class="layout">
- <form action="" name="controlPanel">
-
-  <!-- Suite, Test, Control Panel -->
-
-  <tr class="selenium">
-   <td width="25%" height="30%" rowspan="2">
-    <iframe
-       id="testSuiteFrame"
-       name="testSuiteFrame"
-       src="./tests/TestSuite.html"
-       tal:define="dynamic string:${context/absolute_url}/test_suite_html;"
-       tal:attributes="src options/suite_name | dynamic;"
-       ></iframe>
-   </td>
-   <td width="60%" height="30%" rowspan="2">
-    <iframe
-       id="testFrame"
-       name="testFrame"
-       > </iframe>
-   </td>
-   <th width="15%" height="1" class="header">
-    <h1>
-     <a href="http://selenium.thoughtworks.com"
-        title="The Selenium Project">Selenium</a> TestRunner</h1>
-   </th>
-  </tr>
-
-  <tr class="selenium">
-   <td width="15%" height="30%" id="controlPanel">
-
-     <table id="controls">
-
-      <tr>
-       <td>
-        <b>Run:</b>
-        <button
-           type="button"
-           id="runTest"
-           onclick="runSingleTest();"
-           ><em>Selected</em> Test</button>
-        <button
-           type="button"
-           id="runSuite"
-           onclick="startTestSuite();"
-           ><strong>All</strong> Tests</button>
-       </td>
-      </tr>
-
-      <tr>
-       <td>
-        <b>Mode:</b>
-        <label>
-         <input
-            id="modeRun"
-            type="radio"
-            name="runMode"
-            value="0"
-            checked="checked"
-            />Run</label>
-        <label>
-         <input
-            id="modeWalk"
-            type="radio"
-            name="runMode"
-            value="500"
-            />Walk</label>
-        <label>
-         <input
-            id="modeStep"
-            type="radio"
-            name="runMode"
-            value="-1"
-            />Step</label>
-       </td>
-      </tr>
-
-      <tr>
-       <td>
-        <button
-           type="button"
-           id="domViewer1"
-           onclick="newRoot=getIframeDocument(getElementById('myiframe'));window.open('domviewer.html');return false;"
-           >View DOM</button>
-        <button
-           type="button"
-           id="continueTest">Next/Continue</button>
-       </td>
-      </tr>
-
-     </table>
-
-     <table id="stats" align="center">
-
-      <tr>
-       <td colspan="2" align="right">Elapsed:</td>
-       <td id="elapsedTime" colspan="2">00.00</td>
+  <head>
+    <meta content="text/html; charset=ISO-8859-1" 
+          http-equiv="content-type" />
+    <title>Selenium Functional Test Runner</title>
+
+    <link rel="stylesheet" type="text/css" href="selenium.css" 
+          tal:attributes="href string:${URL}/selenium.css"/>
+    <script language="JavaScript" type="text/javascript" 
+            src="html-xpath/html-xpath-patched.js"
+            tal:attributes="src string:${URL}/html-xpath/html-xpath-patched.js"
+            ></script>
+    <script language="JavaScript" type="text/javascript" 
+            src="selenium-browserbot.js"
+            tal:attributes="src string:${URL}/selenium-browserbot.js"
+            ></script>
+    <script language="JavaScript" type="text/javascript" 
+            src="selenium-api.js"
+            tal:attributes="src string:${URL}/selenium-api.js"
+            ></script>
+    <script language="JavaScript" type="text/javascript" 
+            src="selenium-commandhandlers.js"
+            tal:attributes="src string:${URL}/selenium-commandhandlers.js"
+            ></script>
+    <script language="JavaScript" type="text/javascript" 
+            src="selenium-executionloop.js"
+            tal:attributes="src string:${URL}/selenium-executionloop.js"
+            ></script>
+    <script language="JavaScript" type="text/javascript" 
+            src="selenium-fitrunner.js"
+            tal:attributes="src string:${URL}/selenium-fitrunner.js"
+            ></script>
+    <script language="JavaScript" type="text/javascript" 
+            src="selenium-logging.js"
+            tal:attributes="src string:${URL}/selenium-logging.js"
+            ></script>
+    <script language="JavaScript" type="text/javascript" 
+            src="htmlutils.js"
+            tal:attributes="src string:${URL}/htmlutils.js"
+            ></script>
+    <script language="JavaScript" type="text/javascript" 
+            src="xpath.js"
+            tal:attributes="src string:${URL}/xpath.js" 
+            ></script>
+    <script language="JavaScript" type="text/javascript" 
+            src="user-extensions.js"
+            tal:attributes="src string:${URL}/user-extensions.js"
+            ></script>
+    <script language="JavaScript" type="text/javascript">
+        function openDomViewer() {
+            var autFrame = document.getElementById('myiframe');
+            var autFrameDocument = getIframeDocument(autFrame);
+            this.rootDocument = autFrameDocument;
+            var domViewer = window.open('domviewer.html');
+            return false;
+        }
+    </script>
+
+  </head>
+
+  <body onload="start();">
+
+    <table class="layout">
+    <form action="" name="controlPanel">
+
+      <!-- Suite, Test, Control Panel -->
+
+      <tr class="selenium">
+        <td width="25%" height="30%" rowspan="2">
+            <iframe name="testSuiteFrame" id="testSuiteFrame" 
+                    src="./tests/TestSuite.html"
+                    tal:define="dynamic string:${URL}/test_suite_html;"
+                    tal:attributes="src options/suite_name | dynamic;"
+                    ></iframe></td>
+        <td width="50%" height="30%" rowspan="2"><iframe name="testFrame" id="testFrame"></iframe></td>
+        <th width="25%" height="1" class="header">
+          <h1><a href="http://selenium.thoughtworks.com" title="The Selenium Project">Selenium</a> TestRunner</h1>
+        </th>
+      </tr>
+
+      <tr class="selenium">
+        <td width="25%" height="30%" id="controlPanel">
+
+          <fieldset>
+            <legend>Execute Tests</legend>
+            
+            <div>
+              <input id="modeRun" type="radio" name="runMode" value="0" checked="checked"/><label for="modeRun">Run</label>
+              <input id="modeWalk" type="radio" name="runMode" value="500" /><label for="modeWalk">Walk</label>
+              <input id="modeStep" type="radio" name="runMode" value="-1" /><label for="modeStep">Step</label>
+            </div>
+            
+            <div>
+              <button type="button" id="runSuite" onclick="startTestSuite();"
+                      title="Run the entire Test-Suite">
+                <strong>All</strong>
+              </button>
+              <button type="button" id="runTest" onclick="runSingleTest();"
+                      title="Run the current Test">
+                <em>Selected</em>
+              </button>
+              <button type="button" id="continueTest" disabled="disabled"
+                      title="Continue the Test">
+                Continue
+              </button>
+            </div>
+            
+          </fieldset>
+
+          <table id="stats" align="center">
+            <tr>
+              <td colspan="2" align="right">Elapsed:</td>
+              <td id="elapsedTime" colspan="2">00.00</td>
+            </tr>
+            <tr>
+              <th colspan="2">Tests</th>
+              <th colspan="2">Commands</th>
+            </tr>
+            <tr>
+              <td class="count" id="testRuns">0</td>
+              <td>run</td>
+              <td class="count" id="commandPasses">0</td>
+              <td>passed</td>
+            </tr>
+            <tr>
+              <td class="count" id="testFailures">0</td>
+              <td>failed</td>
+              <td class="count" id="commandFailures">0</td>
+              <td>failed</td>
+            </tr>
+            <tr>
+              <td colspan="2"></td>
+              <td class="count" id="commandErrors">0</td>
+              <td>incomplete</td>
+            </tr>
+          </table>
+
+          <fieldset>
+            <legend>Tools</legend>
+
+            <button type="button" id="domViewer1" onclick="openDomViewer();">
+              View DOM
+            </button>
+            <button type="button" onclick="LOG.show();">
+              Show Log
+            </button>
+
+          </fieldset>
+
+        </td>
+      </tr>
+
+      <!-- AUT -->
+
+      <tr>
+        <td colspan="3" height="70%">
+          <iframe name="myiframe" id="myiframe" src="splash_html"></iframe>
+        </td>
       </tr>
+    </form>
+    </table>
 
-      <tr>
-       <th colspan="2">Tests</th>
-       <th colspan="2">Commands</th>
-      </tr>
-
-      <tr>
-       <td class="count" id="testRuns">0</td>
-       <td>run</td>
-       <td class="count" id="commandPasses">0</td>
-       <td>passed</td>
-      </tr>
-
-      <tr>
-       <td class="count" id="testFailures">0</td>
-       <td>failed</td>
-       <td class="count" id="commandFailures">0</td>
-       <td>failed</td>
-      </tr>
-
-      <tr>
-       <td colspan="2"></td>
-       <td class="count" id="commandErrors">0</td>
-       <td>incomplete</td>
-      </tr>
-
-     </table>
-
-   </td>
-  </tr>
-
-  <!-- AUT -->
-
-  <tr>
-   <td colspan="3" height="70%">
-    <iframe
-       id="myiframe"
-       name="myiframe"
-       src="splash_html"></iframe>
-   </td>
-  </tr>
-
- </form>
- </table>
-
- <div id="logging-console">
-  <h1>Javascript Log Console
-    (<a id="closeLog" href="javascript:LOG.hide()">Close</a>
-     <a href="javascript:LOG.clear();LOG.hide();">Clear</a>)</h1>
-  <ul id="log-list"/>
- </div>
-
- <script language="javascript">
-  LOG = new Logger(LEVEL_WARN);
-  LOG.hide();
- </script>
-
-</body>
+  </body>
 </html>

_______________________________________________
Zope-CVS maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zope-cvs

Zope CVS instructions: http://dev.zope.org/CVS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.