Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 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,
9
to 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="<?php echo $base_dir; ?>core/selenium.css"/>
29
        <script type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/narcissus-defs.js"></script>
30
        <script type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/narcissus-parse.js"></script>
31
        <script type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/narcissus-exec.js"></script>
32
        <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/htmlutils.js"></script>
33
        <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/lib/prototype.js"></script>
34
        <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/lib/scriptaculous/scriptaculous.js"></script>
35
        <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/lib/cssQuery/cssQuery-p.js"></script>
36
        <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/selenium-browserdetect.js"></script>
37
        <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/selenium-browserbot.js"></script>
38
        <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/find_matching_child.js"></script>
39
        <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/selenium-api.js"></script>
40
        <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/selenium-commandhandlers.js"></script>
41
        <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/selenium-executionloop.js"></script>
42
        <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/selenium-testrunner.js"></script>
43
        <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/selenium-logging.js"></script>
44
        <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/selenium-version.js"></script>
45
        <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/xpath/misc.js"></script>
46
        <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/xpath/dom.js"></script>
47
        <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/xpath/xpath.js"></script>
48
		<script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>prado-functional-test.js"></script>
49
 
50
        <script language="JavaScript" type="text/javascript">
51
			var post_results_to = "<?php echo $driver; ?>";
52
			var script_base_url = "<?php echo $base_dir; ?>";
53
        </script>
54
</head>
55
 
56
<body onLoad="onSeleniumLoad();">
57
<table class="layout">
58
<form action="" name="controlPanel">
59
 
60
<!-- Suite, Test, Control Panel -->
61
 
62
<tr class="selenium">
63
<td width="25%" height="15%">
64
    <iframe name="testSuiteFrame" id="testSuiteFrame" src="<?php echo $driver; ?>?testSuites" application="yes"></iframe>
65
</td>
66
<td width="50%" height="15%">
67
    <iframe name="testFrame" id="testFrame" application="yes"></iframe>
68
</td>
69
 
70
<td width="25%">
71
    <table class="layout">
72
        <tr class="selenium">
73
            <th width="25%" height="1" class="header">
74
                <h1><a href="http://selenium.thoughtworks.com" title="The Selenium Project">Selenium</a> TestRunner
75
                </h1>
76
            </th>
77
        </tr>
78
        <tr>
79
            <td width="25%" height="15%" id="controlPanel">
80
                <fieldset>
81
                    <legend>Execute Tests</legend>
82
 
83
                    <div style="float:left">Fast</div>
84
                    <div style="float:right">Slow</div>
85
	      <br>
86
	      <div id="speedSlider">
87
	      <div id="speedTrack">&nbsp;</div>
88
	      <div id="speedHandle">&nbsp;</div>
89
	      </div>
90
 
91
                    <div>
92
                        <button type="button" id="runSuite" onClick="htmlTestRunner.startTestSuite();"
93
                                title="Run the entire Test-Suite">
94
                            <strong>All</strong>
95
                        </button>
96
                        <button type="button" id="runSeleniumTest" onClick="htmlTestRunner.runSingleTest();"
97
                                title="Run the current Test">
98
                            <em>Selected</em>
99
                        </button>
100
                        <button type="button" id="pauseTest" disabled="disabled"
101
                                title="Pause the current Test">
102
                            Pause
103
                        </button>
104
                        <button type="button" id="stepTest" disabled="disabled"
105
                                title="Step the Test">
106
                            Step
107
                        </button>
108
                    </div>
109
 
110
                    <div class="executionOptions">
111
                        <input id="highlightOption" type="checkbox" name="highlightOption" value="0" checked="checked"/>
112
                        <label for="highlightOption">Highlight elements</label>
113
                    </div>
114
 
115
                </fieldset>
116
 
117
                <table id="stats" align="center">
118
                    <tr>
119
                        <td colspan="2" align="right">Elapsed:</td>
120
                        <td id="elapsedTime" colspan="2">00.00</td>
121
                    </tr>
122
                    <tr>
123
                        <th colspan="2">Tests</th>
124
                        <th colspan="2">Commands</th>
125
                    </tr>
126
                    <tr>
127
                        <td class="count" id="testRuns">0</td>
128
                        <td>run</td>
129
                        <td class="count" id="commandPasses">0</td>
130
                        <td>passed</td>
131
                    </tr>
132
                    <tr>
133
                        <td class="count" id="testFailures">0</td>
134
                        <td>failed</td>
135
                        <td class="count" id="commandFailures">0</td>
136
                        <td>failed</td>
137
                    </tr>
138
                    <tr>
139
                        <td colspan="2"></td>
140
                        <td class="count" id="commandErrors">0</td>
141
                        <td>incomplete</td>
142
                    </tr>
143
                </table>
144
            </td>
145
        </tr>
146
    </table>
147
</td>
148
</tr>
149
 
150
<!-- AUT -->
151
 
152
<tr>
153
    <td colspan="3" height="70%">
154
        <iframe name="myiframe" id="myiframe" src="<?php echo $base_dir; ?>core/TestRunner-splash.html"></iframe>
155
    </td>
156
</tr>
157
 
158
    </form>
159
    </table>
160
 
161
</body>
162
</html>