PageRenderTime 20ms CodeModel.GetById 12ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

/testing/selenium-core/TestRunner.html

http://datanucleus-appengine.googlecode.com/
HTML | 177 lines | 136 code | 20 blank | 21 comment | 0 complexity | 03625ef53b400839bd583e3722ff0466 MD5 | raw file
  1<html>
  2
  3<head>
  4    <HTA:APPLICATION ID="SeleniumHTARunner" APPLICATIONNAME="Selenium">
  5        <!-- the previous line is only relevant if you rename this
  6     file to "TestRunner.hta" -->
  7
  8        <!-- The copyright notice and other comments have been moved to after the HTA declaration,
  9to work-around a bug in IE on Win2K whereby the HTA application doesn't function correctly -->
 10        <!--
 11        Copyright 2004 ThoughtWorks, Inc
 12
 13         Licensed under the Apache License, Version 2.0 (the "License");
 14         you may not use this file except in compliance with the License.
 15         You may obtain a copy of the License at
 16
 17             http://www.apache.org/licenses/LICENSE-2.0
 18
 19         Unless required by applicable law or agreed to in writing, software
 20         distributed under the License is distributed on an "AS IS" BASIS,
 21         WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 22         See the License for the specific language governing permissions and
 23         limitations under the License.
 24        -->
 25        <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"/>
 26
 27        <title>Selenium Functional Test Runner</title>
 28        <link rel="stylesheet" type="text/css" href="selenium.css"/>
 29        <script type="text/javascript" src="scripts/xmlextras.js"></script>
 30        <script language="JavaScript" type="text/javascript" src="lib/prototype.js"></script>
 31        <script language="JavaScript" type="text/javascript" src="lib/cssQuery/cssQuery-p.js"></script>
 32        <script language="JavaScript" type="text/javascript" src="lib/snapsie.js"></script>
 33        <script language="JavaScript" type="text/javascript" src="scripts/htmlutils.js"></script>
 34        <script language="JavaScript" type="text/javascript" src="scripts/ui-element.js"></script>
 35        <script language="JavaScript" type="text/javascript" src="lib/scriptaculous/scriptaculous.js"></script>
 36        <script language="JavaScript" type="text/javascript" src="scripts/selenium-browserdetect.js"></script>
 37        <script language="JavaScript" type="text/javascript" src="scripts/selenium-browserbot.js"></script>
 38        <script language="JavaScript" type="text/javascript" src="scripts/find_matching_child.js"></script>
 39        <script language="JavaScript" type="text/javascript" src="scripts/selenium-api.js"></script>
 40        <script language="JavaScript" type="text/javascript" src="scripts/selenium-commandhandlers.js"></script>
 41        <script language="JavaScript" type="text/javascript" src="scripts/selenium-executionloop.js"></script>
 42        <script language="JavaScript" type="text/javascript" src="scripts/selenium-testrunner.js"></script>
 43        <script language="JavaScript" type="text/javascript" src="scripts/selenium-logging.js"></script>
 44        <script language="JavaScript" type="text/javascript" src="scripts/selenium-version.js"></script>
 45        <script language="JavaScript" type="text/javascript" src="xpath/util.js"></script>
 46        <script language="JavaScript" type="text/javascript" src="xpath/xmltoken.js"></script>
 47        <script language="JavaScript" type="text/javascript" src="xpath/dom.js"></script>
 48        <script language="JavaScript" type="text/javascript" src="xpath/xpath.js"></script>
 49        <script language="JavaScript" type="text/javascript" src="xpath/javascript-xpath-0.1.8.js"></script>
 50        <script language="JavaScript" type="text/javascript" src="scripts/user-extensions.js"></script>
 51        <script language="JavaScript" type="text/javascript">
 52            function openDomViewer() {
 53                var autFrame = document.getElementById('selenium_myiframe');
 54                var autFrameDocument = new SeleniumFrame(autFrame).getDocument();
 55                this.rootDocument = autFrameDocument;
 56                var domViewer = window.open(getDocumentBase(document) + 'domviewer/domviewer.html');
 57                return false;
 58            }
 59        </script>
 60</head>
 61
 62<body onLoad="onSeleniumLoad();">
 63<table class="layout">
 64<form action="" name="controlPanel">
 65
 66<!-- Suite, Test, Control Panel -->
 67
 68<tr class="selenium">
 69<td width="25%" height="30%">
 70    <iframe name="testSuiteFrame" id="testSuiteFrame" src="./TestPrompt.html" application="yes"></iframe>
 71</td>
 72<td width="50%" height="30%">
 73    <iframe name="testFrame" id="testFrame" application="yes"></iframe>
 74</td>
 75
 76<td width="25%">
 77    <table class="layout">
 78        <tr class="selenium">
 79            <th width="25%" height="1" class="header">
 80                <h1><a href="http://selenium.openqa.org" title="The Selenium Project">Selenium</a> TestRunner
 81                </h1>
 82            </th>
 83        </tr>
 84        <tr>
 85            <td width="25%" height="30%" id="controlPanel">
 86                <fieldset>
 87                    <legend>Execute Tests</legend>
 88
 89                    <div id="imageButtonPanel">
 90                        <button type="button" id="runSuite" onClick="htmlTestRunner.startTestSuite();"
 91                                title="Run All tests" accesskey="a">
 92                        </button>
 93                        <button type="button" id="runSeleniumTest" onClick="htmlTestRunner.runSingleTest();"
 94                                title="Run the Selected test" accesskey="r">
 95                        </button>
 96                        <button type="button" id="pauseTest" disabled="disabled"
 97                                title="Pause/Continue" accesskey="p" class="cssPauseTest">
 98                        </button>
 99                        <button type="button" id="stepTest" disabled="disabled"
100                                title="Step" accesskey="s">
101                        </button>
102                    </div>
103
104                    <div style="float:left">Fast</div>
105                    <div style="float:right">Slow</div>
106                    <br/>
107                    <div id="speedSlider">
108                        <div id="speedTrack">&nbsp;</div>
109                        <div id="speedHandle">&nbsp;</div>
110                    </div>
111
112                    <div class="executionOptions">
113                        <input id="highlightOption" type="checkbox" name="highlightOption" value="0"/>
114                        <label for="highlightOption">Highlight elements</label>
115                    </div>
116
117                </fieldset>
118
119                <table id="stats" align="center">
120                    <tr>
121                        <td colspan="2" align="right">Elapsed:</td>
122                        <td id="elapsedTime" colspan="2">00.00</td>
123                    </tr>
124                    <tr>
125                        <th colspan="2">Tests</th>
126                        <th colspan="2">Commands</th>
127                    </tr>
128                    <tr>
129                        <td class="count" id="testRuns">0</td>
130                        <td>run</td>
131                        <td class="count" id="commandPasses">0</td>
132                        <td>passed</td>
133                    </tr>
134                    <tr>
135                        <td class="count" id="testFailures">0</td>
136                        <td>failed</td>
137                        <td class="count" id="commandFailures">0</td>
138                        <td>failed</td>
139                    </tr>
140                    <tr>
141                        <td colspan="2"></td>
142                        <td class="count" id="commandErrors">0</td>
143                        <td>incomplete</td>
144                    </tr>
145                </table>
146
147                <fieldset>
148                    <legend>Tools</legend>
149
150                    <button type="button" id="domViewer1" onClick="openDomViewer();">
151                        View DOM
152                    </button>
153                    <button type="button" onClick="LOG.show();">
154                        Show Log
155                    </button>
156
157                </fieldset>
158
159            </td>
160        </tr>
161    </table>
162</td>
163</tr>
164
165<!-- AUT -->
166
167<tr>
168    <td colspan="3" height="70%">
169        <iframe name="selenium_myiframe" id="selenium_myiframe" src="TestRunner-splash.html"></iframe>
170    </td>
171</tr>
172
173    </form>
174    </table>
175
176</body>
177</html>