rubinium 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. data/CHANGES +7 -0
  2. data/MIT-LICENSE +21 -0
  3. data/README +137 -0
  4. data/Rakefile +139 -0
  5. data/TODO +7 -0
  6. data/doc/examples/rtc_site_live.rb +12 -0
  7. data/doc/examples/rts_main.rb +9 -0
  8. data/doc/examples/rts_shared_code.rb +25 -0
  9. data/lib/rubinium.rb +9 -0
  10. data/lib/rubinium/string.rb +3 -0
  11. data/lib/rubinium/test_base.rb +80 -0
  12. data/lib/rubinium/test_suite.rb +53 -0
  13. data/lib/rubinium/validator.rb +16 -0
  14. data/test/selenium_tests/test_click.rb +22 -0
  15. data/test/selenium_tests/test_open.rb +11 -0
  16. data/test/tc_file_creation.rb +60 -0
  17. data/test/ts_rubinium.rb +1 -0
  18. data/vendor/selenium-0.6.0/install-readme.txt +9 -0
  19. data/vendor/selenium-0.6.0/selenium/SeleneseRunner.html +253 -0
  20. data/vendor/selenium-0.6.0/selenium/SeleniumLog.html +61 -0
  21. data/vendor/selenium-0.6.0/selenium/TestRunner-splash.html +55 -0
  22. data/vendor/selenium-0.6.0/selenium/TestRunner.hta +146 -0
  23. data/vendor/selenium-0.6.0/selenium/TestRunner.html +146 -0
  24. data/vendor/selenium-0.6.0/selenium/devtests/TestClickInFrame.html +58 -0
  25. data/vendor/selenium-0.6.0/selenium/devtests/TestOpenInFrame.html +48 -0
  26. data/vendor/selenium-0.6.0/selenium/devtests/TestOpenInNewWindow.html +78 -0
  27. data/vendor/selenium-0.6.0/selenium/devtests/TestOpenMeta.html +43 -0
  28. data/vendor/selenium-0.6.0/selenium/devtests/TestSuite.html +39 -0
  29. data/vendor/selenium-0.6.0/selenium/devtests/meta/page.html +5 -0
  30. data/vendor/selenium-0.6.0/selenium/dom-images/butmin.gif +0 -0
  31. data/vendor/selenium-0.6.0/selenium/dom-images/butplus.gif +0 -0
  32. data/vendor/selenium-0.6.0/selenium/dom-styles/default.css +298 -0
  33. data/vendor/selenium-0.6.0/selenium/domviewer.html +16 -0
  34. data/vendor/selenium-0.6.0/selenium/html-xpath/carnation.jpg +0 -0
  35. data/vendor/selenium-0.6.0/selenium/html-xpath/example.html +75 -0
  36. data/vendor/selenium-0.6.0/selenium/html-xpath/html-xpath-patched.js +657 -0
  37. data/vendor/selenium-0.6.0/selenium/html-xpath/html-xpath.js +610 -0
  38. data/vendor/selenium-0.6.0/selenium/html-xpath/license.txt +504 -0
  39. data/vendor/selenium-0.6.0/selenium/html-xpath/rainbow.jpg +0 -0
  40. data/vendor/selenium-0.6.0/selenium/htmlutils.js +283 -0
  41. data/vendor/selenium-0.6.0/selenium/index.html +60 -0
  42. data/vendor/selenium-0.6.0/selenium/jsmock/mock-tests.html +205 -0
  43. data/vendor/selenium-0.6.0/selenium/jsmock/mock.js +124 -0
  44. data/vendor/selenium-0.6.0/selenium/selenium-api.js +683 -0
  45. data/vendor/selenium-0.6.0/selenium/selenium-browserbot.js +930 -0
  46. data/vendor/selenium-0.6.0/selenium/selenium-commandhandlers.js +286 -0
  47. data/vendor/selenium-0.6.0/selenium/selenium-domviewer.js +188 -0
  48. data/vendor/selenium-0.6.0/selenium/selenium-executionloop.js +250 -0
  49. data/vendor/selenium-0.6.0/selenium/selenium-fitrunner.js +597 -0
  50. data/vendor/selenium-0.6.0/selenium/selenium-logging.js +88 -0
  51. data/vendor/selenium-0.6.0/selenium/selenium-logo.png +0 -0
  52. data/vendor/selenium-0.6.0/selenium/selenium-tableparser.js +50 -0
  53. data/vendor/selenium-0.6.0/selenium/selenium.css +211 -0
  54. data/vendor/selenium-0.6.0/selenium/tests/ErrorCheckingTestSuite.html +36 -0
  55. data/vendor/selenium-0.6.0/selenium/tests/GoogleTestSearch.html +69 -0
  56. data/vendor/selenium-0.6.0/selenium/tests/GoogleTestSuite.html +32 -0
  57. data/vendor/selenium-0.6.0/selenium/tests/JsUnitSuite.html +38 -0
  58. data/vendor/selenium-0.6.0/selenium/tests/TestClick.html +128 -0
  59. data/vendor/selenium-0.6.0/selenium/tests/TestClickJavascriptHref.html +115 -0
  60. data/vendor/selenium-0.6.0/selenium/tests/TestCommandError.html +79 -0
  61. data/vendor/selenium-0.6.0/selenium/tests/TestConfirmations.html +77 -0
  62. data/vendor/selenium-0.6.0/selenium/tests/TestErrorChecking.html +71 -0
  63. data/vendor/selenium-0.6.0/selenium/tests/TestFailingAssert.html +59 -0
  64. data/vendor/selenium-0.6.0/selenium/tests/TestFailingVerifications.html +198 -0
  65. data/vendor/selenium-0.6.0/selenium/tests/TestFocusOnBlur.html +53 -0
  66. data/vendor/selenium-0.6.0/selenium/tests/TestGoBack.html +81 -0
  67. data/vendor/selenium-0.6.0/selenium/tests/TestImplicitLocators.html +81 -0
  68. data/vendor/selenium-0.6.0/selenium/tests/TestJavascriptParameters.html +91 -0
  69. data/vendor/selenium-0.6.0/selenium/tests/TestLocators.html +161 -0
  70. data/vendor/selenium-0.6.0/selenium/tests/TestModalDialog.html +58 -0
  71. data/vendor/selenium-0.6.0/selenium/tests/TestModalDialogDialog.html +48 -0
  72. data/vendor/selenium-0.6.0/selenium/tests/TestOpen.html +66 -0
  73. data/vendor/selenium-0.6.0/selenium/tests/TestPatternMatching.html +127 -0
  74. data/vendor/selenium-0.6.0/selenium/tests/TestPause.html +78 -0
  75. data/vendor/selenium-0.6.0/selenium/tests/TestPrompting.html +82 -0
  76. data/vendor/selenium-0.6.0/selenium/tests/TestProxy.html +62 -0
  77. data/vendor/selenium-0.6.0/selenium/tests/TestSelect.html +111 -0
  78. data/vendor/selenium-0.6.0/selenium/tests/TestSelectWindow.html +106 -0
  79. data/vendor/selenium-0.6.0/selenium/tests/TestStore.html +165 -0
  80. data/vendor/selenium-0.6.0/selenium/tests/TestSuite-InternetExplorer.html +79 -0
  81. data/vendor/selenium-0.6.0/selenium/tests/TestSuite-Konqueror.html +75 -0
  82. data/vendor/selenium-0.6.0/selenium/tests/TestSuite-Safari.html +75 -0
  83. data/vendor/selenium-0.6.0/selenium/tests/TestSuite.html +75 -0
  84. data/vendor/selenium-0.6.0/selenium/tests/TestType.html +79 -0
  85. data/vendor/selenium-0.6.0/selenium/tests/TestUserExtensions.html +81 -0
  86. data/vendor/selenium-0.6.0/selenium/tests/TestVerifications.html +164 -0
  87. data/vendor/selenium-0.6.0/selenium/tests/TestVerifyAlerts.html +80 -0
  88. data/vendor/selenium-0.6.0/selenium/tests/TestVerifyAlertsFailures.html +108 -0
  89. data/vendor/selenium-0.6.0/selenium/tests/TestVerifyConfirmationFailures.html +86 -0
  90. data/vendor/selenium-0.6.0/selenium/tests/TestVerifyEditable.html +70 -0
  91. data/vendor/selenium-0.6.0/selenium/tests/TestVerifyEditableFailures.html +95 -0
  92. data/vendor/selenium-0.6.0/selenium/tests/TestVisibility.html +91 -0
  93. data/vendor/selenium-0.6.0/selenium/tests/TestVisibilityFailures.html +131 -0
  94. data/vendor/selenium-0.6.0/selenium/tests/TestWait.html +112 -0
  95. data/vendor/selenium-0.6.0/selenium/tests/TestWaitFor.html +63 -0
  96. data/vendor/selenium-0.6.0/selenium/tests/TestWaitInPopupWindow.html +94 -0
  97. data/vendor/selenium-0.6.0/selenium/tests/TestXPathLocators.html +98 -0
  98. data/vendor/selenium-0.6.0/selenium/tests/browserbot/alert-handling-tests.html +79 -0
  99. data/vendor/selenium-0.6.0/selenium/tests/browserbot/assert-tests.html +113 -0
  100. data/vendor/selenium-0.6.0/selenium/tests/browserbot/browserbot-tests.html +123 -0
  101. data/vendor/selenium-0.6.0/selenium/tests/browserbot/command-factory-tests.html +290 -0
  102. data/vendor/selenium-0.6.0/selenium/tests/browserbot/command-handler-tests.html +115 -0
  103. data/vendor/selenium-0.6.0/selenium/tests/browserbot/confirm-handling-tests.html +97 -0
  104. data/vendor/selenium-0.6.0/selenium/tests/browserbot/error-checking-command-tests.html +198 -0
  105. data/vendor/selenium-0.6.0/selenium/tests/browserbot/event-bubble-tests.html +106 -0
  106. data/vendor/selenium-0.6.0/selenium/tests/browserbot/optionlocator-tests.html +180 -0
  107. data/vendor/selenium-0.6.0/selenium/tests/browserbot/pagebot-accessor-tests.html +65 -0
  108. data/vendor/selenium-0.6.0/selenium/tests/browserbot/pagebot-action-tests.html +200 -0
  109. data/vendor/selenium-0.6.0/selenium/tests/browserbot/pagebot-attribute-tests.html +98 -0
  110. data/vendor/selenium-0.6.0/selenium/tests/browserbot/pagebot-locator-tests-include.html +33 -0
  111. data/vendor/selenium-0.6.0/selenium/tests/browserbot/pagebot-locator-tests.html +258 -0
  112. data/vendor/selenium-0.6.0/selenium/tests/browserbot/pagebot-property-tests.html +49 -0
  113. data/vendor/selenium-0.6.0/selenium/tests/browserbot/pattern-matcher-tests.html +66 -0
  114. data/vendor/selenium-0.6.0/selenium/tests/browserbot/selenium-api-tests.html +412 -0
  115. data/vendor/selenium-0.6.0/selenium/tests/browserbot/selenium-parameter-tests.html +98 -0
  116. data/vendor/selenium-0.6.0/selenium/tests/browserbot/suite.html +52 -0
  117. data/vendor/selenium-0.6.0/selenium/tests/browserbot/testloop-handle-error-tests.html +74 -0
  118. data/vendor/selenium-0.6.0/selenium/tests/events/TestButtonEvents.html +72 -0
  119. data/vendor/selenium-0.6.0/selenium/tests/events/TestCheckboxEvents.html +107 -0
  120. data/vendor/selenium-0.6.0/selenium/tests/events/TestFireEvents.html +75 -0
  121. data/vendor/selenium-0.6.0/selenium/tests/events/TestLinkEvents.html +43 -0
  122. data/vendor/selenium-0.6.0/selenium/tests/events/TestRadioEvents.html +149 -0
  123. data/vendor/selenium-0.6.0/selenium/tests/events/TestSelectEvents.html +122 -0
  124. data/vendor/selenium-0.6.0/selenium/tests/events/TestTextEvents.html +87 -0
  125. data/vendor/selenium-0.6.0/selenium/tests/events/readme.txt +26 -0
  126. data/vendor/selenium-0.6.0/selenium/tests/html/banner.gif +0 -0
  127. data/vendor/selenium-0.6.0/selenium/tests/html/test_async_event.html +36 -0
  128. data/vendor/selenium-0.6.0/selenium/tests/html/test_click_javascript_page.html +34 -0
  129. data/vendor/selenium-0.6.0/selenium/tests/html/test_click_page1.html +31 -0
  130. data/vendor/selenium-0.6.0/selenium/tests/html/test_click_page2.html +30 -0
  131. data/vendor/selenium-0.6.0/selenium/tests/html/test_confirm.html +34 -0
  132. data/vendor/selenium-0.6.0/selenium/tests/html/test_dummy_page.html +26 -0
  133. data/vendor/selenium-0.6.0/selenium/tests/html/test_editable.html +36 -0
  134. data/vendor/selenium-0.6.0/selenium/tests/html/test_focus_on_blur.html +33 -0
  135. data/vendor/selenium-0.6.0/selenium/tests/html/test_form_events.html +98 -0
  136. data/vendor/selenium-0.6.0/selenium/tests/html/test_framed_page.html +7 -0
  137. data/vendor/selenium-0.6.0/selenium/tests/html/test_just_text.html +22 -0
  138. data/vendor/selenium-0.6.0/selenium/tests/html/test_locators.html +34 -0
  139. data/vendor/selenium-0.6.0/selenium/tests/html/test_modal_dialog.html +29 -0
  140. data/vendor/selenium-0.6.0/selenium/tests/html/test_modal_dialog_dialog.html +35 -0
  141. data/vendor/selenium-0.6.0/selenium/tests/html/test_open.html +23 -0
  142. data/vendor/selenium-0.6.0/selenium/tests/html/test_prompt.html +34 -0
  143. data/vendor/selenium-0.6.0/selenium/tests/html/test_reload_onchange_page.html +32 -0
  144. data/vendor/selenium-0.6.0/selenium/tests/html/test_select.html +35 -0
  145. data/vendor/selenium-0.6.0/selenium/tests/html/test_select_window.html +29 -0
  146. data/vendor/selenium-0.6.0/selenium/tests/html/test_select_window_popup.html +28 -0
  147. data/vendor/selenium-0.6.0/selenium/tests/html/test_slowloading_page.html +27 -0
  148. data/vendor/selenium-0.6.0/selenium/tests/html/test_store_value.html +23 -0
  149. data/vendor/selenium-0.6.0/selenium/tests/html/test_type_page1.html +37 -0
  150. data/vendor/selenium-0.6.0/selenium/tests/html/test_type_page2.html +61 -0
  151. data/vendor/selenium-0.6.0/selenium/tests/html/test_verifications.html +42 -0
  152. data/vendor/selenium-0.6.0/selenium/tests/html/test_verify_alert.html +46 -0
  153. data/vendor/selenium-0.6.0/selenium/tests/html/test_visibility.html +53 -0
  154. data/vendor/selenium-0.6.0/selenium/tests/readme.txt +1 -0
  155. data/vendor/selenium-0.6.0/selenium/tests/tableparser/tableparser-tests.html +122 -0
  156. data/vendor/selenium-0.6.0/selenium/tests/tinyWebServer.py +70 -0
  157. data/vendor/selenium-0.6.0/selenium/user-extensions.js.sample +62 -0
  158. data/vendor/selenium-0.6.0/selenium/version.txt +1 -0
  159. data/vendor/selenium-0.6.0/selenium/xmlextras.js +153 -0
  160. data/vendor/selenium-0.6.0/selenium/xpath.js +3910 -0
  161. metadata +216 -0
@@ -0,0 +1,88 @@
1
+ /*
2
+ * Copyright 2004 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
+ var Logger = function() {
18
+ this.logWindow = null;
19
+ }
20
+ Logger.prototype = {
21
+
22
+ getLogWindow: function() {
23
+ if (this.logWindow && this.logWindow.closed) {
24
+ this.logWindow = null;
25
+ }
26
+ return this.logWindow;
27
+ },
28
+
29
+ openLogWindow: function() {
30
+ this.logWindow = window.open(
31
+ "SeleniumLog.html", "SeleniumLog",
32
+ "width=600,height=250,bottom=0,right=0,status,scrollbars,resizable"
33
+ );
34
+ return this.logWindow;
35
+ },
36
+
37
+ show: function() {
38
+ if (! this.getLogWindow()) {
39
+ this.openLogWindow();
40
+ }
41
+ },
42
+
43
+ log: function(message, className) {
44
+ var logWindow = this.getLogWindow();
45
+ if (logWindow) {
46
+ if (logWindow.append) {
47
+ logWindow.append(message, className);
48
+ }
49
+ }
50
+ },
51
+
52
+ debug: function(message) {
53
+ this.log(message, "debug");
54
+ },
55
+
56
+ info: function(message) {
57
+ this.log(message, "info");
58
+ },
59
+
60
+ warn: function(message) {
61
+ this.log(message, "warn");
62
+ },
63
+
64
+ error: function(message) {
65
+ this.log(message, "error");
66
+ },
67
+
68
+ exception: function(exception) {
69
+ var msg = "Unexpected Exception: " + describe(exception, ', ');
70
+ this.error(msg);
71
+ }
72
+
73
+ };
74
+
75
+ var LOG = new Logger();
76
+
77
+ function noop() {};
78
+
79
+ var DummyLogger = function() {};
80
+ DummyLogger.prototype = {
81
+ show: noop,
82
+ log: noop,
83
+ debug: noop,
84
+ info: noop,
85
+ warn: noop,
86
+ error: noop
87
+ };
88
+
@@ -0,0 +1,50 @@
1
+ /*
2
+ * Copyright 2004 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
+
18
+ TableParser = function(wikiTableRows) {
19
+ this.wikiTableRows = wikiTableRows;
20
+ };
21
+
22
+ // Parses a Wiki table row into a SeleniumB Javascript expression
23
+ TableParser.prototype.createCommandFromWikiRow = function(wikiRow) {
24
+ var tokens;
25
+ if(tokens = wikiRow.trim().match(/^\|([^\|]*)\|([^\|]*)\|([^\|]*)\|$/m)) {
26
+ var functionName = tokens[1].trim();
27
+ var arg1 = tokens[2].trim();
28
+ var arg2 = tokens[3].trim();
29
+ return new SeleniumCommand(functionName, arg1, arg2);
30
+ } else {
31
+ throw new Error("Bad wiki row format:" + wikiRow);
32
+ }
33
+ };
34
+
35
+ // Parses a HTML table row into a SeleniumB Javascript expression
36
+ TableParser.prototype.createCommandFromHtmlRow = function(row) {
37
+ if(row.cells.length != 3) {
38
+ throw new Error("Bad HTML row format. Rows must have 3 coumns, but had " + row.cells.length);
39
+ }
40
+ var functionName = getText(row.cells[0]);
41
+ var arg1 = getText(row.cells[1]);
42
+ var arg2 = getText(row.cells[2]);
43
+ return new SeleniumCommand(functionName, arg1, arg2);
44
+ };
45
+
46
+ TableParser.prototype.loop = function() {
47
+ row = this.wikiTableRows.getRow();
48
+ if (row == null) return null;
49
+ return this.createCommandForRow(row);
50
+ };
@@ -0,0 +1,211 @@
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
+ /*---( Layout )---*/
18
+
19
+ body {
20
+ margin: 0;
21
+ padding: 0;
22
+ overflow: auto;
23
+ }
24
+
25
+ td {
26
+ position: static;
27
+ }
28
+
29
+ tr {
30
+ vertical-align: top;
31
+ }
32
+
33
+ .layout {
34
+ width: 100%;
35
+ height: 100%;
36
+ border-collapse: collapse;
37
+ }
38
+
39
+ .layout td {
40
+ margin: 0;
41
+ padding: 0;
42
+ border: 0;
43
+ }
44
+
45
+ iframe {
46
+ width: 100%;
47
+ height: 100%;
48
+ border: 0;
49
+ background: white;
50
+ overflow: auto;
51
+ }
52
+
53
+ /*---( Style )---*/
54
+
55
+ body, html {
56
+ font-family: Verdana, Arial, sans-serif;
57
+ }
58
+
59
+ .selenium th, .selenium td {
60
+ border: 1px solid #999;
61
+ }
62
+
63
+ .header {
64
+ background: #ccc;
65
+ padding: 0;
66
+ font-size: 90%;
67
+ }
68
+
69
+ #controlPanel {
70
+ padding: 0.5ex;
71
+ background: #eee;
72
+ overflow: auto;
73
+ font-size: 75%;
74
+ text-align: center;
75
+ }
76
+
77
+ #controlPanel fieldset {
78
+ margin: 0.3ex;
79
+ padding: 0.3ex;
80
+ }
81
+
82
+ #controlPanel fieldset legend {
83
+ color: black;
84
+ }
85
+
86
+ #controlPanel button {
87
+ margin: 0.5ex;
88
+ }
89
+
90
+ #controlPanel table {
91
+ font-size: 100%;
92
+ }
93
+
94
+ #controlPanel th, #controlPanel td {
95
+ border: 0;
96
+ }
97
+
98
+ h1 {
99
+ margin: 0.2ex;
100
+ font-size: 130%;
101
+ font-weight: bold;
102
+ }
103
+
104
+ h2 {
105
+ margin: 0.2ex;
106
+ font-size: 80%;
107
+ font-weight: normal;
108
+ }
109
+
110
+ .selenium a {
111
+ color: black;
112
+ text-decoration: none;
113
+ }
114
+
115
+ .selenium a:hover {
116
+ text-decoration: underline;
117
+ }
118
+
119
+ button, label {
120
+ cursor: pointer;
121
+ }
122
+
123
+ #stats {
124
+ margin: 0.5em auto 0.5em auto;
125
+ }
126
+
127
+ #stats th, #stats td {
128
+ text-align: left;
129
+ padding-left: 2px;
130
+ }
131
+
132
+ #stats th {
133
+ text-decoration: underline;
134
+ }
135
+
136
+ #stats td.count {
137
+ font-weight: bold;
138
+ text-align: right;
139
+ }
140
+
141
+ #testRuns {
142
+ color: green;
143
+ }
144
+
145
+ #testFailures {
146
+ color: red;
147
+ }
148
+
149
+ #commandPasses {
150
+ color: green;
151
+ }
152
+
153
+ #commandFailures {
154
+ color: red;
155
+ }
156
+
157
+ #commandErrors {
158
+ color: #f90;
159
+ }
160
+
161
+ .splash {
162
+ border: 1px solid black;
163
+ padding: 20px;
164
+ background: #ccc;
165
+ }
166
+
167
+ /*---( Logging Console )---*/
168
+
169
+ #logging-console {
170
+ background: #fff;
171
+ font-size: 75%;
172
+ }
173
+
174
+ #logging-console #banner {
175
+ display: block;
176
+ width: 100%;
177
+ position: fixed;
178
+ top: 0;
179
+ background: #ddd;
180
+ border-bottom: 1px solid #666;
181
+ }
182
+
183
+ #logging-console #logLevelChooser {
184
+ float: right;
185
+ margin: 3px;
186
+ }
187
+
188
+ #logging-console ul {
189
+ list-style-type: none;
190
+ margin: 0px;
191
+ margin-top: 3em;
192
+ padding-left: 5px;
193
+ }
194
+
195
+ #logging-console li {
196
+ margin: 2px;
197
+ border-top: 1px solid #ccc;
198
+ }
199
+
200
+ #logging-console li.error {
201
+ font-weight: bold;
202
+ color: red;
203
+ }
204
+
205
+ #logging-console li.warn {
206
+ color: red;
207
+ }
208
+
209
+ #logging-console li.debug {
210
+ color: green;
211
+ }
@@ -0,0 +1,36 @@
1
+ <!--
2
+ Copyright 2004 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
+ <html>
17
+ <head>
18
+ <meta content="text/html; charset=ISO-8859-1"
19
+ http-equiv="content-type">
20
+ <title>Test Suite</title>
21
+
22
+ </head>
23
+
24
+ <body>
25
+
26
+ <table cellpadding="1"
27
+ cellspacing="1"
28
+ border="1">
29
+ <tbody>
30
+ <tr><td><b>Test Suite</b></td></tr>
31
+ <tr><td><a href="./TestErrorChecking.html">TestErrorChecking</a></td></tr>
32
+ </tbody>
33
+ </table>
34
+
35
+ </body>
36
+ </html>
@@ -0,0 +1,69 @@
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">Google Test Search<br>
28
+ </td>
29
+ </tr>
30
+ <tr>
31
+ <td>open</td>
32
+ <td>http://www.google.com</td>
33
+ <td>&nbsp;</td>
34
+ </tr>
35
+ <tr>
36
+ <td>verifyTitle</td>
37
+ <td>Google</td>
38
+ <td>&nbsp;</td>
39
+ </tr>
40
+ <tr>
41
+ <td>type</td>
42
+ <td>q</td>
43
+ <td>Selenium ThoughtWorks</td>
44
+ </tr>
45
+ <tr>
46
+ <td>verifyValue</td>
47
+ <td>q</td>
48
+ <td>Selenium ThoughtWorks</td>
49
+ </tr>
50
+ <tr>
51
+ <td>clickAndWait</td>
52
+ <td>btnG</td>
53
+ <td>&nbsp;</td>
54
+ </tr>
55
+ <tr>
56
+ <td>verifyTextPresent</td>
57
+ <td>selenium.thoughtworks.com</td>
58
+ <td>&nbsp;</td>
59
+ </tr>
60
+ <tr>
61
+ <td>verifyTitle</td>
62
+ <td>Google Search: Selenium ThoughtWorks</td>
63
+ <td>&nbsp;</td>
64
+ </tr>
65
+ </tbody>
66
+
67
+ </table>
68
+ </body>
69
+ </html>