[ Index ] |
|
Code source de PRADO 3.0.6 |
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/lib/prototype.js"></script> 33 <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/lib/scriptaculous/scriptaculous.js"></script> 34 <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/lib/cssQuery/cssQuery-p.js"></script> 35 <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/selenium-browserdetect.js"></script> 36 <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/selenium-browserbot.js"></script> 37 <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/find_matching_child.js"></script> 38 <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/htmlutils.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 </script> 53 </head> 54 55 <body onLoad="onSeleniumLoad();"> 56 <table class="layout"> 57 <form action="" name="controlPanel"> 58 59 <!-- Suite, Test, Control Panel --> 60 61 <tr class="selenium"> 62 <td width="25%" height="15%"> 63 <iframe name="testSuiteFrame" id="testSuiteFrame" src="<?php echo $driver; ?>?testSuites" application="yes"></iframe> 64 </td> 65 <td width="50%" height="15%"> 66 <iframe name="testFrame" id="testFrame" application="yes"></iframe> 67 </td> 68 69 <td width="25%"> 70 <table class="layout"> 71 <tr class="selenium"> 72 <th width="25%" height="1" class="header"> 73 <h1><a href="http://selenium.thoughtworks.com" title="The Selenium Project">Selenium</a> TestRunner 74 </h1> 75 </th> 76 </tr> 77 <tr> 78 <td width="25%" height="15%" id="controlPanel"> 79 <fieldset> 80 <legend>Execute Tests</legend> 81 82 <div style="float:left">Fast</div> 83 <div style="float:right">Slow</div> 84 <br> 85 <div id="speedSlider"> 86 <div id="speedTrack"> </div> 87 <div id="speedHandle"> </div> 88 </div> 89 90 <div> 91 <button type="button" id="runSuite" onClick="htmlTestRunner.startTestSuite();" 92 title="Run the entire Test-Suite"> 93 <strong>All</strong> 94 </button> 95 <button type="button" id="runSeleniumTest" onClick="htmlTestRunner.runSingleTest();" 96 title="Run the current Test"> 97 <em>Selected</em> 98 </button> 99 <button type="button" id="pauseTest" disabled="disabled" 100 title="Pause the current Test"> 101 Pause 102 </button> 103 <button type="button" id="stepTest" disabled="disabled" 104 title="Step the Test"> 105 Step 106 </button> 107 </div> 108 109 <div class="executionOptions"> 110 <input id="highlightOption" type="checkbox" name="highlightOption" value="0" checked="checked"/> 111 <label for="highlightOption">Highlight elements</label> 112 </div> 113 114 </fieldset> 115 116 <table id="stats" align="center"> 117 <tr> 118 <td colspan="2" align="right">Elapsed:</td> 119 <td id="elapsedTime" colspan="2">00.00</td> 120 </tr> 121 <tr> 122 <th colspan="2">Tests</th> 123 <th colspan="2">Commands</th> 124 </tr> 125 <tr> 126 <td class="count" id="testRuns">0</td> 127 <td>run</td> 128 <td class="count" id="commandPasses">0</td> 129 <td>passed</td> 130 </tr> 131 <tr> 132 <td class="count" id="testFailures">0</td> 133 <td>failed</td> 134 <td class="count" id="commandFailures">0</td> 135 <td>failed</td> 136 </tr> 137 <tr> 138 <td colspan="2"></td> 139 <td class="count" id="commandErrors">0</td> 140 <td>incomplete</td> 141 </tr> 142 </table> 143 </td> 144 </tr> 145 </table> 146 </td> 147 </tr> 148 149 <!-- AUT --> 150 151 <tr> 152 <td colspan="3" height="70%"> 153 <iframe name="myiframe" id="myiframe" src="<?php echo $base_dir; ?>core/TestRunner-splash.html"></iframe> 154 </td> 155 </tr> 156 157 </form> 158 </table> 159 160 </body> 161 </html>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |