rubinium 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +7 -0
- data/MIT-LICENSE +21 -0
- data/README +137 -0
- data/Rakefile +139 -0
- data/TODO +7 -0
- data/doc/examples/rtc_site_live.rb +12 -0
- data/doc/examples/rts_main.rb +9 -0
- data/doc/examples/rts_shared_code.rb +25 -0
- data/lib/rubinium.rb +9 -0
- data/lib/rubinium/string.rb +3 -0
- data/lib/rubinium/test_base.rb +80 -0
- data/lib/rubinium/test_suite.rb +53 -0
- data/lib/rubinium/validator.rb +16 -0
- data/test/selenium_tests/test_click.rb +22 -0
- data/test/selenium_tests/test_open.rb +11 -0
- data/test/tc_file_creation.rb +60 -0
- data/test/ts_rubinium.rb +1 -0
- data/vendor/selenium-0.6.0/install-readme.txt +9 -0
- data/vendor/selenium-0.6.0/selenium/SeleneseRunner.html +253 -0
- data/vendor/selenium-0.6.0/selenium/SeleniumLog.html +61 -0
- data/vendor/selenium-0.6.0/selenium/TestRunner-splash.html +55 -0
- data/vendor/selenium-0.6.0/selenium/TestRunner.hta +146 -0
- data/vendor/selenium-0.6.0/selenium/TestRunner.html +146 -0
- data/vendor/selenium-0.6.0/selenium/devtests/TestClickInFrame.html +58 -0
- data/vendor/selenium-0.6.0/selenium/devtests/TestOpenInFrame.html +48 -0
- data/vendor/selenium-0.6.0/selenium/devtests/TestOpenInNewWindow.html +78 -0
- data/vendor/selenium-0.6.0/selenium/devtests/TestOpenMeta.html +43 -0
- data/vendor/selenium-0.6.0/selenium/devtests/TestSuite.html +39 -0
- data/vendor/selenium-0.6.0/selenium/devtests/meta/page.html +5 -0
- data/vendor/selenium-0.6.0/selenium/dom-images/butmin.gif +0 -0
- data/vendor/selenium-0.6.0/selenium/dom-images/butplus.gif +0 -0
- data/vendor/selenium-0.6.0/selenium/dom-styles/default.css +298 -0
- data/vendor/selenium-0.6.0/selenium/domviewer.html +16 -0
- data/vendor/selenium-0.6.0/selenium/html-xpath/carnation.jpg +0 -0
- data/vendor/selenium-0.6.0/selenium/html-xpath/example.html +75 -0
- data/vendor/selenium-0.6.0/selenium/html-xpath/html-xpath-patched.js +657 -0
- data/vendor/selenium-0.6.0/selenium/html-xpath/html-xpath.js +610 -0
- data/vendor/selenium-0.6.0/selenium/html-xpath/license.txt +504 -0
- data/vendor/selenium-0.6.0/selenium/html-xpath/rainbow.jpg +0 -0
- data/vendor/selenium-0.6.0/selenium/htmlutils.js +283 -0
- data/vendor/selenium-0.6.0/selenium/index.html +60 -0
- data/vendor/selenium-0.6.0/selenium/jsmock/mock-tests.html +205 -0
- data/vendor/selenium-0.6.0/selenium/jsmock/mock.js +124 -0
- data/vendor/selenium-0.6.0/selenium/selenium-api.js +683 -0
- data/vendor/selenium-0.6.0/selenium/selenium-browserbot.js +930 -0
- data/vendor/selenium-0.6.0/selenium/selenium-commandhandlers.js +286 -0
- data/vendor/selenium-0.6.0/selenium/selenium-domviewer.js +188 -0
- data/vendor/selenium-0.6.0/selenium/selenium-executionloop.js +250 -0
- data/vendor/selenium-0.6.0/selenium/selenium-fitrunner.js +597 -0
- data/vendor/selenium-0.6.0/selenium/selenium-logging.js +88 -0
- data/vendor/selenium-0.6.0/selenium/selenium-logo.png +0 -0
- data/vendor/selenium-0.6.0/selenium/selenium-tableparser.js +50 -0
- data/vendor/selenium-0.6.0/selenium/selenium.css +211 -0
- data/vendor/selenium-0.6.0/selenium/tests/ErrorCheckingTestSuite.html +36 -0
- data/vendor/selenium-0.6.0/selenium/tests/GoogleTestSearch.html +69 -0
- data/vendor/selenium-0.6.0/selenium/tests/GoogleTestSuite.html +32 -0
- data/vendor/selenium-0.6.0/selenium/tests/JsUnitSuite.html +38 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestClick.html +128 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestClickJavascriptHref.html +115 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestCommandError.html +79 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestConfirmations.html +77 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestErrorChecking.html +71 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestFailingAssert.html +59 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestFailingVerifications.html +198 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestFocusOnBlur.html +53 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestGoBack.html +81 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestImplicitLocators.html +81 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestJavascriptParameters.html +91 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestLocators.html +161 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestModalDialog.html +58 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestModalDialogDialog.html +48 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestOpen.html +66 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestPatternMatching.html +127 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestPause.html +78 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestPrompting.html +82 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestProxy.html +62 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestSelect.html +111 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestSelectWindow.html +106 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestStore.html +165 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestSuite-InternetExplorer.html +79 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestSuite-Konqueror.html +75 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestSuite-Safari.html +75 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestSuite.html +75 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestType.html +79 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestUserExtensions.html +81 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestVerifications.html +164 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestVerifyAlerts.html +80 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestVerifyAlertsFailures.html +108 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestVerifyConfirmationFailures.html +86 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestVerifyEditable.html +70 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestVerifyEditableFailures.html +95 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestVisibility.html +91 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestVisibilityFailures.html +131 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestWait.html +112 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestWaitFor.html +63 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestWaitInPopupWindow.html +94 -0
- data/vendor/selenium-0.6.0/selenium/tests/TestXPathLocators.html +98 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/alert-handling-tests.html +79 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/assert-tests.html +113 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/browserbot-tests.html +123 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/command-factory-tests.html +290 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/command-handler-tests.html +115 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/confirm-handling-tests.html +97 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/error-checking-command-tests.html +198 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/event-bubble-tests.html +106 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/optionlocator-tests.html +180 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/pagebot-accessor-tests.html +65 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/pagebot-action-tests.html +200 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/pagebot-attribute-tests.html +98 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/pagebot-locator-tests-include.html +33 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/pagebot-locator-tests.html +258 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/pagebot-property-tests.html +49 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/pattern-matcher-tests.html +66 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/selenium-api-tests.html +412 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/selenium-parameter-tests.html +98 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/suite.html +52 -0
- data/vendor/selenium-0.6.0/selenium/tests/browserbot/testloop-handle-error-tests.html +74 -0
- data/vendor/selenium-0.6.0/selenium/tests/events/TestButtonEvents.html +72 -0
- data/vendor/selenium-0.6.0/selenium/tests/events/TestCheckboxEvents.html +107 -0
- data/vendor/selenium-0.6.0/selenium/tests/events/TestFireEvents.html +75 -0
- data/vendor/selenium-0.6.0/selenium/tests/events/TestLinkEvents.html +43 -0
- data/vendor/selenium-0.6.0/selenium/tests/events/TestRadioEvents.html +149 -0
- data/vendor/selenium-0.6.0/selenium/tests/events/TestSelectEvents.html +122 -0
- data/vendor/selenium-0.6.0/selenium/tests/events/TestTextEvents.html +87 -0
- data/vendor/selenium-0.6.0/selenium/tests/events/readme.txt +26 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/banner.gif +0 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_async_event.html +36 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_click_javascript_page.html +34 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_click_page1.html +31 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_click_page2.html +30 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_confirm.html +34 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_dummy_page.html +26 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_editable.html +36 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_focus_on_blur.html +33 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_form_events.html +98 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_framed_page.html +7 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_just_text.html +22 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_locators.html +34 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_modal_dialog.html +29 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_modal_dialog_dialog.html +35 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_open.html +23 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_prompt.html +34 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_reload_onchange_page.html +32 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_select.html +35 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_select_window.html +29 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_select_window_popup.html +28 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_slowloading_page.html +27 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_store_value.html +23 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_type_page1.html +37 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_type_page2.html +61 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_verifications.html +42 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_verify_alert.html +46 -0
- data/vendor/selenium-0.6.0/selenium/tests/html/test_visibility.html +53 -0
- data/vendor/selenium-0.6.0/selenium/tests/readme.txt +1 -0
- data/vendor/selenium-0.6.0/selenium/tests/tableparser/tableparser-tests.html +122 -0
- data/vendor/selenium-0.6.0/selenium/tests/tinyWebServer.py +70 -0
- data/vendor/selenium-0.6.0/selenium/user-extensions.js.sample +62 -0
- data/vendor/selenium-0.6.0/selenium/version.txt +1 -0
- data/vendor/selenium-0.6.0/selenium/xmlextras.js +153 -0
- data/vendor/selenium-0.6.0/selenium/xpath.js +3910 -0
- metadata +216 -0
@@ -0,0 +1,55 @@
|
|
1
|
+
<!--
|
2
|
+
Copyright 2005 ThoughtWorks, Inc
|
3
|
+
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
you may not use this file except in compliance with the License.
|
6
|
+
You may obtain a copy of the License at
|
7
|
+
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
See the License for the specific language governing permissions and
|
14
|
+
limitations under the License.
|
15
|
+
-->
|
16
|
+
|
17
|
+
<html>
|
18
|
+
<link rel="stylesheet" type="text/css" href="selenium.css" />
|
19
|
+
<body>
|
20
|
+
<table width="100%">
|
21
|
+
|
22
|
+
<tr>
|
23
|
+
<th>↑</th>
|
24
|
+
<th>↑</th>
|
25
|
+
<th>↑</th>
|
26
|
+
</tr>
|
27
|
+
<tr>
|
28
|
+
<th width="25%">Test Suite</th>
|
29
|
+
<th width="50%">Current Test</th>
|
30
|
+
<th width="25%">Control Panel</th>
|
31
|
+
</tr>
|
32
|
+
<tr><td> </td></tr>
|
33
|
+
|
34
|
+
<tr>
|
35
|
+
<td></td>
|
36
|
+
<td class="selenium splash">
|
37
|
+
|
38
|
+
<img src="selenium-logo.png" align="right">
|
39
|
+
|
40
|
+
<h1>Selenium</h1>
|
41
|
+
<h2>by <a href="http://www.thoughtworks.com">ThoughtWorks</a> and friends</h2>
|
42
|
+
|
43
|
+
<p>
|
44
|
+
For more information on Selenium, visit
|
45
|
+
|
46
|
+
<pre>
|
47
|
+
<a href="http://selenium.thoughtworks.com" target="_blank">http://selenium.thoughtworks.com</a>
|
48
|
+
</pre>
|
49
|
+
|
50
|
+
</td>
|
51
|
+
<tr>
|
52
|
+
|
53
|
+
</table>
|
54
|
+
</body>
|
55
|
+
</html>
|
@@ -0,0 +1,146 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<HTA:APPLICATION ID="SeleniumTestRunner" 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="selenium.css" />
|
29
|
+
<script language="JavaScript" type="text/javascript" src="html-xpath/html-xpath-patched.js"></script>
|
30
|
+
<script language="JavaScript" type="text/javascript" src="selenium-browserbot.js"></script>
|
31
|
+
<script language="JavaScript" type="text/javascript" src="selenium-api.js"></script>
|
32
|
+
<script language="JavaScript" type="text/javascript" src="selenium-commandhandlers.js"></script>
|
33
|
+
<script language="JavaScript" type="text/javascript" src="selenium-executionloop.js"></script>
|
34
|
+
<script language="JavaScript" type="text/javascript" src="selenium-fitrunner.js"></script>
|
35
|
+
<script language="JavaScript" type="text/javascript" src="selenium-logging.js"></script>
|
36
|
+
<script language="JavaScript" type="text/javascript" src="htmlutils.js"></script>
|
37
|
+
<script language="JavaScript" type="text/javascript" src="xpath.js"></script>
|
38
|
+
<script language="JavaScript" type="text/javascript" src="user-extensions.js"></script>
|
39
|
+
<script language="JavaScript" type="text/javascript">
|
40
|
+
function openDomViewer() {
|
41
|
+
var autFrame = document.getElementById('myiframe');
|
42
|
+
var autFrameDocument = getIframeDocument(autFrame);
|
43
|
+
this.rootDocument = autFrameDocument;
|
44
|
+
var domViewer = window.open('domviewer.html');
|
45
|
+
return false;
|
46
|
+
}
|
47
|
+
</script>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body onload="start();">
|
51
|
+
|
52
|
+
<table class="layout">
|
53
|
+
<form action="" name="controlPanel">
|
54
|
+
|
55
|
+
<!-- Suite, Test, Control Panel -->
|
56
|
+
|
57
|
+
<tr class="selenium">
|
58
|
+
<td width="25%" height="30%" rowspan="2"><iframe name="testSuiteFrame" id="testSuiteFrame" src="./tests/TestSuite.html"></iframe></td>
|
59
|
+
<td width="50%" height="30%" rowspan="2"><iframe name="testFrame" id="testFrame"></iframe></td>
|
60
|
+
<th width="25%" height="1" class="header">
|
61
|
+
<h1><a href="http://selenium.thoughtworks.com" title="The Selenium Project">Selenium</a> TestRunner</h1>
|
62
|
+
</th>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="selenium">
|
66
|
+
<td width="25%" height="30%" id="controlPanel">
|
67
|
+
|
68
|
+
<fieldset>
|
69
|
+
<legend>Execute Tests</legend>
|
70
|
+
|
71
|
+
<div>
|
72
|
+
<input id="modeRun" type="radio" name="runMode" value="0" checked="checked"/><label for="modeRun">Run</label>
|
73
|
+
<input id="modeWalk" type="radio" name="runMode" value="500" /><label for="modeWalk">Walk</label>
|
74
|
+
<input id="modeStep" type="radio" name="runMode" value="-1" /><label for="modeStep">Step</label>
|
75
|
+
</div>
|
76
|
+
|
77
|
+
<div>
|
78
|
+
<button type="button" id="runSuite" onclick="startTestSuite();"
|
79
|
+
title="Run the entire Test-Suite">
|
80
|
+
<strong>All</strong>
|
81
|
+
</button>
|
82
|
+
<button type="button" id="runTest" onclick="runSingleTest();"
|
83
|
+
title="Run the current Test">
|
84
|
+
<em>Selected</em>
|
85
|
+
</button>
|
86
|
+
<button type="button" id="continueTest" disabled="disabled"
|
87
|
+
title="Continue the Test">
|
88
|
+
Continue
|
89
|
+
</button>
|
90
|
+
</div>
|
91
|
+
|
92
|
+
</fieldset>
|
93
|
+
|
94
|
+
<table id="stats" align="center">
|
95
|
+
<tr>
|
96
|
+
<td colspan="2" align="right">Elapsed:</td>
|
97
|
+
<td id="elapsedTime" colspan="2">00.00</td>
|
98
|
+
</tr>
|
99
|
+
<tr>
|
100
|
+
<th colspan="2">Tests</th>
|
101
|
+
<th colspan="2">Commands</th>
|
102
|
+
</tr>
|
103
|
+
<tr>
|
104
|
+
<td class="count" id="testRuns">0</td>
|
105
|
+
<td>run</td>
|
106
|
+
<td class="count" id="commandPasses">0</td>
|
107
|
+
<td>passed</td>
|
108
|
+
</tr>
|
109
|
+
<tr>
|
110
|
+
<td class="count" id="testFailures">0</td>
|
111
|
+
<td>failed</td>
|
112
|
+
<td class="count" id="commandFailures">0</td>
|
113
|
+
<td>failed</td>
|
114
|
+
</tr>
|
115
|
+
<tr>
|
116
|
+
<td colspan="2"></td>
|
117
|
+
<td class="count" id="commandErrors">0</td>
|
118
|
+
<td>incomplete</td>
|
119
|
+
</tr>
|
120
|
+
</table>
|
121
|
+
|
122
|
+
<fieldset>
|
123
|
+
<legend>Tools</legend>
|
124
|
+
|
125
|
+
<button type="button" id="domViewer1" onclick="openDomViewer();">
|
126
|
+
View DOM
|
127
|
+
</button>
|
128
|
+
<button type="button" onclick="LOG.show();">
|
129
|
+
Show Log
|
130
|
+
</button>
|
131
|
+
|
132
|
+
</fieldset>
|
133
|
+
|
134
|
+
</td>
|
135
|
+
</tr>
|
136
|
+
|
137
|
+
<!-- AUT -->
|
138
|
+
|
139
|
+
<tr>
|
140
|
+
<td colspan="3" height="70%"><iframe name="myiframe" id="myiframe" src="TestRunner-splash.html"></iframe></td>
|
141
|
+
</tr>
|
142
|
+
</form>
|
143
|
+
</table>
|
144
|
+
|
145
|
+
</body>
|
146
|
+
</html>
|
@@ -0,0 +1,146 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<HTA:APPLICATION ID="SeleniumTestRunner" 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="selenium.css" />
|
29
|
+
<script language="JavaScript" type="text/javascript" src="html-xpath/html-xpath-patched.js"></script>
|
30
|
+
<script language="JavaScript" type="text/javascript" src="selenium-browserbot.js"></script>
|
31
|
+
<script language="JavaScript" type="text/javascript" src="selenium-api.js"></script>
|
32
|
+
<script language="JavaScript" type="text/javascript" src="selenium-commandhandlers.js"></script>
|
33
|
+
<script language="JavaScript" type="text/javascript" src="selenium-executionloop.js"></script>
|
34
|
+
<script language="JavaScript" type="text/javascript" src="selenium-fitrunner.js"></script>
|
35
|
+
<script language="JavaScript" type="text/javascript" src="selenium-logging.js"></script>
|
36
|
+
<script language="JavaScript" type="text/javascript" src="htmlutils.js"></script>
|
37
|
+
<script language="JavaScript" type="text/javascript" src="xpath.js"></script>
|
38
|
+
<script language="JavaScript" type="text/javascript" src="user-extensions.js"></script>
|
39
|
+
<script language="JavaScript" type="text/javascript">
|
40
|
+
function openDomViewer() {
|
41
|
+
var autFrame = document.getElementById('myiframe');
|
42
|
+
var autFrameDocument = getIframeDocument(autFrame);
|
43
|
+
this.rootDocument = autFrameDocument;
|
44
|
+
var domViewer = window.open('domviewer.html');
|
45
|
+
return false;
|
46
|
+
}
|
47
|
+
</script>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body onload="start();">
|
51
|
+
|
52
|
+
<table class="layout">
|
53
|
+
<form action="" name="controlPanel">
|
54
|
+
|
55
|
+
<!-- Suite, Test, Control Panel -->
|
56
|
+
|
57
|
+
<tr class="selenium">
|
58
|
+
<td width="25%" height="30%" rowspan="2"><iframe name="testSuiteFrame" id="testSuiteFrame" src="./tests/TestSuite.html"></iframe></td>
|
59
|
+
<td width="50%" height="30%" rowspan="2"><iframe name="testFrame" id="testFrame"></iframe></td>
|
60
|
+
<th width="25%" height="1" class="header">
|
61
|
+
<h1><a href="http://selenium.thoughtworks.com" title="The Selenium Project">Selenium</a> TestRunner</h1>
|
62
|
+
</th>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="selenium">
|
66
|
+
<td width="25%" height="30%" id="controlPanel">
|
67
|
+
|
68
|
+
<fieldset>
|
69
|
+
<legend>Execute Tests</legend>
|
70
|
+
|
71
|
+
<div>
|
72
|
+
<input id="modeRun" type="radio" name="runMode" value="0" checked="checked"/><label for="modeRun">Run</label>
|
73
|
+
<input id="modeWalk" type="radio" name="runMode" value="500" /><label for="modeWalk">Walk</label>
|
74
|
+
<input id="modeStep" type="radio" name="runMode" value="-1" /><label for="modeStep">Step</label>
|
75
|
+
</div>
|
76
|
+
|
77
|
+
<div>
|
78
|
+
<button type="button" id="runSuite" onclick="startTestSuite();"
|
79
|
+
title="Run the entire Test-Suite">
|
80
|
+
<strong>All</strong>
|
81
|
+
</button>
|
82
|
+
<button type="button" id="runTest" onclick="runSingleTest();"
|
83
|
+
title="Run the current Test">
|
84
|
+
<em>Selected</em>
|
85
|
+
</button>
|
86
|
+
<button type="button" id="continueTest" disabled="disabled"
|
87
|
+
title="Continue the Test">
|
88
|
+
Continue
|
89
|
+
</button>
|
90
|
+
</div>
|
91
|
+
|
92
|
+
</fieldset>
|
93
|
+
|
94
|
+
<table id="stats" align="center">
|
95
|
+
<tr>
|
96
|
+
<td colspan="2" align="right">Elapsed:</td>
|
97
|
+
<td id="elapsedTime" colspan="2">00.00</td>
|
98
|
+
</tr>
|
99
|
+
<tr>
|
100
|
+
<th colspan="2">Tests</th>
|
101
|
+
<th colspan="2">Commands</th>
|
102
|
+
</tr>
|
103
|
+
<tr>
|
104
|
+
<td class="count" id="testRuns">0</td>
|
105
|
+
<td>run</td>
|
106
|
+
<td class="count" id="commandPasses">0</td>
|
107
|
+
<td>passed</td>
|
108
|
+
</tr>
|
109
|
+
<tr>
|
110
|
+
<td class="count" id="testFailures">0</td>
|
111
|
+
<td>failed</td>
|
112
|
+
<td class="count" id="commandFailures">0</td>
|
113
|
+
<td>failed</td>
|
114
|
+
</tr>
|
115
|
+
<tr>
|
116
|
+
<td colspan="2"></td>
|
117
|
+
<td class="count" id="commandErrors">0</td>
|
118
|
+
<td>incomplete</td>
|
119
|
+
</tr>
|
120
|
+
</table>
|
121
|
+
|
122
|
+
<fieldset>
|
123
|
+
<legend>Tools</legend>
|
124
|
+
|
125
|
+
<button type="button" id="domViewer1" onclick="openDomViewer();">
|
126
|
+
View DOM
|
127
|
+
</button>
|
128
|
+
<button type="button" onclick="LOG.show();">
|
129
|
+
Show Log
|
130
|
+
</button>
|
131
|
+
|
132
|
+
</fieldset>
|
133
|
+
|
134
|
+
</td>
|
135
|
+
</tr>
|
136
|
+
|
137
|
+
<!-- AUT -->
|
138
|
+
|
139
|
+
<tr>
|
140
|
+
<td colspan="3" height="70%"><iframe name="myiframe" id="myiframe" src="TestRunner-splash.html"></iframe></td>
|
141
|
+
</tr>
|
142
|
+
</form>
|
143
|
+
</table>
|
144
|
+
|
145
|
+
</body>
|
146
|
+
</html>
|
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<!--
|
3
|
+
Copyright 2004 ThoughtWorks, Inc
|
4
|
+
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
you may not use this file except in compliance with the License.
|
7
|
+
You may obtain a copy of the License at
|
8
|
+
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
See the License for the specific language governing permissions and
|
15
|
+
limitations under the License.
|
16
|
+
-->
|
17
|
+
<html>
|
18
|
+
<head>
|
19
|
+
<meta content="text/html; charset=ISO-8859-1"
|
20
|
+
http-equiv="content-type">
|
21
|
+
<title>Test Click</title>
|
22
|
+
</head>
|
23
|
+
<body>
|
24
|
+
<table cellpadding="1" cellspacing="1" border="1">
|
25
|
+
<tbody>
|
26
|
+
<tr>
|
27
|
+
<td rowspan="1" colspan="3">Test Click<br>
|
28
|
+
</td>
|
29
|
+
</tr>
|
30
|
+
<tr>
|
31
|
+
<td>open</td>
|
32
|
+
<td>./tests/html/test_framed_page.html</td>
|
33
|
+
<td> </td>
|
34
|
+
</tr>
|
35
|
+
<tr>
|
36
|
+
<td>verifyText</td>
|
37
|
+
<td>link</td>
|
38
|
+
<td>Click here for next page</td>
|
39
|
+
</tr>
|
40
|
+
<tr>
|
41
|
+
<td>clickAndWait</td>
|
42
|
+
<td>link</td>
|
43
|
+
<td> </td>
|
44
|
+
</tr>
|
45
|
+
<tr>
|
46
|
+
<td>verifyText</td>
|
47
|
+
<td>previousPage</td>
|
48
|
+
<td>test_click_page1.html</td>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<td>clickAndWait</td>
|
52
|
+
<td>previousPage</td>
|
53
|
+
<td> </td>
|
54
|
+
</tr>
|
55
|
+
</tbody>
|
56
|
+
</table>
|
57
|
+
</body>
|
58
|
+
</html>
|
@@ -0,0 +1,48 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<!--
|
3
|
+
Copyright 2004 ThoughtWorks, Inc
|
4
|
+
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
you may not use this file except in compliance with the License.
|
7
|
+
You may obtain a copy of the License at
|
8
|
+
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
See the License for the specific language governing permissions and
|
15
|
+
limitations under the License.
|
16
|
+
-->
|
17
|
+
<html>
|
18
|
+
<head>
|
19
|
+
<meta content="text/html; charset=ISO-8859-1"
|
20
|
+
http-equiv="content-type">
|
21
|
+
<title>Test Open</title>
|
22
|
+
</head>
|
23
|
+
<body>
|
24
|
+
<table cellpadding="1" cellspacing="1" border="1">
|
25
|
+
<tbody>
|
26
|
+
<tr>
|
27
|
+
<td rowspan="1" colspan="3">Test Open<br>
|
28
|
+
</td>
|
29
|
+
</tr>
|
30
|
+
<tr>
|
31
|
+
<td>open</td>
|
32
|
+
<td>./testRunner.html</td>
|
33
|
+
<td> </td>
|
34
|
+
</tr>
|
35
|
+
<tr>
|
36
|
+
<td>clickAndWait</td>
|
37
|
+
<td>TestOpenMeta</td>
|
38
|
+
<td> </td>
|
39
|
+
</tr>
|
40
|
+
<tr>
|
41
|
+
<td>clickAndWait</td>
|
42
|
+
<td>runTest</td>
|
43
|
+
<td> </td>
|
44
|
+
</tr>
|
45
|
+
</tbody>
|
46
|
+
</table>
|
47
|
+
</body>
|
48
|
+
</html>
|