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,71 @@
|
|
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">!!!Should Fail!!! Tests for expectError and expectFailure commands<br>
|
28
|
+
</td>
|
29
|
+
</tr>
|
30
|
+
<tr>
|
31
|
+
<td>open</td>
|
32
|
+
<td>./tests/html/test_click_page1.html</td>
|
33
|
+
<td> </td>
|
34
|
+
</tr>
|
35
|
+
|
36
|
+
<!-- These tests should all fail, as they are checking the error checking commands. -->
|
37
|
+
<tr>
|
38
|
+
<td>verifyFailureOnNext</td>
|
39
|
+
<td>The next command succeeds</td>
|
40
|
+
<td></td>
|
41
|
+
</tr>
|
42
|
+
<tr>
|
43
|
+
<td>verifyText</td>
|
44
|
+
<td>link</td>
|
45
|
+
<td>Click here for next page</td>
|
46
|
+
</tr>
|
47
|
+
<tr>
|
48
|
+
<td>verifyFailureOnNext</td>
|
49
|
+
<td>The wrong message</td>
|
50
|
+
<td></td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td>verifyText</td>
|
54
|
+
<td>link</td>
|
55
|
+
<td>foo</td>
|
56
|
+
</tr>
|
57
|
+
|
58
|
+
<tr>
|
59
|
+
<td>verifyErrorOnNext</td>
|
60
|
+
<td>The wrong message</td>
|
61
|
+
<td></td>
|
62
|
+
</tr>
|
63
|
+
<tr>
|
64
|
+
<td>verifyText</td>
|
65
|
+
<td>notAnElement</td>
|
66
|
+
<td>foo</td>
|
67
|
+
</tr>
|
68
|
+
</tbody>
|
69
|
+
</table>
|
70
|
+
</body>
|
71
|
+
</html>
|
@@ -0,0 +1,59 @@
|
|
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 Failing Assert</title>
|
22
|
+
</head>
|
23
|
+
<body>
|
24
|
+
<table cellpadding="1" cellspacing="1" border="1">
|
25
|
+
<tbody>
|
26
|
+
<tr>
|
27
|
+
<td rowspan="1" colspan="3">Test Failing Assert</td>
|
28
|
+
</tr>
|
29
|
+
|
30
|
+
<tr>
|
31
|
+
<td>open</td>
|
32
|
+
<td>./tests/html/test_verifications.html</td>
|
33
|
+
<td> </td>
|
34
|
+
</tr>
|
35
|
+
|
36
|
+
<tr>
|
37
|
+
<td>assertErrorOnNext</td>
|
38
|
+
<td>Actual value 'the text value' did not match 'not the text value'</td>
|
39
|
+
<td/>
|
40
|
+
</tr>
|
41
|
+
<tr>
|
42
|
+
<td>assertValue</td>
|
43
|
+
<td>theText</td>
|
44
|
+
<td>not the text value</td>
|
45
|
+
</tr>
|
46
|
+
<tr>
|
47
|
+
<td>assertErrorOnNext</td>
|
48
|
+
<td>Actual value 'the text value' did match 'the text value'</td>
|
49
|
+
<td/>
|
50
|
+
</tr>
|
51
|
+
<tr>
|
52
|
+
<td>assertNotValue</td>
|
53
|
+
<td>theText</td>
|
54
|
+
<td>the text value</td>
|
55
|
+
</tr>
|
56
|
+
</tbody>
|
57
|
+
</table>
|
58
|
+
</body>
|
59
|
+
</html>
|
@@ -0,0 +1,198 @@
|
|
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 Failing Verifications</title>
|
22
|
+
</head>
|
23
|
+
<body>
|
24
|
+
<table cellpadding="1" cellspacing="1" border="1">
|
25
|
+
<tbody>
|
26
|
+
<tr>
|
27
|
+
<td rowspan="1" colspan="3">Test Failing Verifications</td>
|
28
|
+
</tr>
|
29
|
+
|
30
|
+
<tr>
|
31
|
+
<td>open</td>
|
32
|
+
<td>./tests/html/test_verifications.html</td>
|
33
|
+
<td> </td>
|
34
|
+
</tr>
|
35
|
+
<tr>
|
36
|
+
<td>assertFailureOnNext</td>
|
37
|
+
<td>Actual value * did not match '*/tests/html/not_test_verifications.html'</td>
|
38
|
+
<td/>
|
39
|
+
</tr>
|
40
|
+
<tr>
|
41
|
+
<td>verifyLocation</td>
|
42
|
+
<td>/tests/html/not_test_verifications.html</td>
|
43
|
+
<td></td>
|
44
|
+
</tr>
|
45
|
+
<tr>
|
46
|
+
<td>assertFailureOnNext</td>
|
47
|
+
<td>Actual value 'the text value' did not match 'not the text value'</td>
|
48
|
+
<td/>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<td>verifyValue</td>
|
52
|
+
<td>theText</td>
|
53
|
+
<td>not the text value</td>
|
54
|
+
</tr>
|
55
|
+
<tr>
|
56
|
+
<td>assertFailureOnNext</td>
|
57
|
+
<td>Actual value 'the text value' did match 'the text value'</td>
|
58
|
+
<td/>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td>verifyNotValue</td>
|
62
|
+
<td>theText</td>
|
63
|
+
<td>the text value</td>
|
64
|
+
</tr>
|
65
|
+
<tr>
|
66
|
+
<td>assertFailureOnNext</td>
|
67
|
+
<td>Actual value 'the hidden value' did not match 'not the hidden value'</td>
|
68
|
+
<td/>
|
69
|
+
</tr>
|
70
|
+
<tr>
|
71
|
+
<td>verifyValue</td>
|
72
|
+
<td>theHidden</td>
|
73
|
+
<td>not the hidden value</td>
|
74
|
+
</tr>
|
75
|
+
<tr>
|
76
|
+
<td>assertFailureOnNext</td>
|
77
|
+
<td>Actual value 'this is the span' did not match 'this is not the span'</td>
|
78
|
+
<td/>
|
79
|
+
</tr>
|
80
|
+
<tr>
|
81
|
+
<td>verifyText</td>
|
82
|
+
<td>theSpan</td>
|
83
|
+
<td>this is not the span</td>
|
84
|
+
</tr>
|
85
|
+
<tr>
|
86
|
+
<td>assertFailureOnNext</td>
|
87
|
+
<td>'this is not the span' not found in page text.</td>
|
88
|
+
<td/>
|
89
|
+
</tr>
|
90
|
+
<tr>
|
91
|
+
<td>verifyTextPresent</td>
|
92
|
+
<td>this is not the span</td>
|
93
|
+
<td></td>
|
94
|
+
</tr>
|
95
|
+
<tr>
|
96
|
+
<td>assertFailureOnNext</td>
|
97
|
+
<td>'this is the span' was found in page text.</td>
|
98
|
+
<td/>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<td>verifyTextNotPresent</td>
|
102
|
+
<td>this is the span</td>
|
103
|
+
<td></td>
|
104
|
+
</tr>
|
105
|
+
<tr>
|
106
|
+
<td>assertFailureOnNext</td>
|
107
|
+
<td>Element notTheSpan not found.</td>
|
108
|
+
<td/>
|
109
|
+
</tr>
|
110
|
+
<tr>
|
111
|
+
<td>verifyElementPresent</td>
|
112
|
+
<td>notTheSpan</td>
|
113
|
+
<td></td>
|
114
|
+
</tr>
|
115
|
+
<tr>
|
116
|
+
<td>assertFailureOnNext</td>
|
117
|
+
<td>Element theSpan found.</td>
|
118
|
+
<td/>
|
119
|
+
</tr>
|
120
|
+
<tr>
|
121
|
+
<td>verifyElementNotPresent</td>
|
122
|
+
<td>theSpan</td>
|
123
|
+
<td></td>
|
124
|
+
</tr>
|
125
|
+
<tr>
|
126
|
+
<td>assertFailureOnNext</td>
|
127
|
+
<td>Actual value 'c' did not match 'a'</td>
|
128
|
+
<td/>
|
129
|
+
</tr>
|
130
|
+
<tr>
|
131
|
+
<td>verifyTable</td>
|
132
|
+
<td>theTable.1.0</td>
|
133
|
+
<td>a</td>
|
134
|
+
</tr>
|
135
|
+
<tr>
|
136
|
+
<td>assertFailureOnNext</td>
|
137
|
+
<td>Expected '2' but was '1'</td>
|
138
|
+
<td/>
|
139
|
+
</tr>
|
140
|
+
<tr>
|
141
|
+
<td>verifySelected</td>
|
142
|
+
<td>theSelect</td>
|
143
|
+
<td>index=2</td>
|
144
|
+
</tr>
|
145
|
+
<tr>
|
146
|
+
<td>assertFailureOnNext</td>
|
147
|
+
<td>Actual value 'option2' did not match 'opt*3'</td>
|
148
|
+
<td/>
|
149
|
+
</tr>
|
150
|
+
<tr>
|
151
|
+
<td>verifySelected</td>
|
152
|
+
<td>theSelect</td>
|
153
|
+
<td>value=opt*3</td>
|
154
|
+
</tr>
|
155
|
+
<tr>
|
156
|
+
<td>assertFailureOnNext</td>
|
157
|
+
<td>Actual value 'second option' did not match 'third option'</td>
|
158
|
+
<td/>
|
159
|
+
</tr>
|
160
|
+
<tr>
|
161
|
+
<td>verifySelected</td>
|
162
|
+
<td>theSelect</td>
|
163
|
+
<td>third option</td>
|
164
|
+
</tr>
|
165
|
+
<tr>
|
166
|
+
<td>assertFailureOnNext</td>
|
167
|
+
<td>Wrong number of options; Expected '2' but was '3'</td>
|
168
|
+
<td/>
|
169
|
+
</tr>
|
170
|
+
<tr>
|
171
|
+
<td>verifySelectOptions</td>
|
172
|
+
<td>theSelect</td>
|
173
|
+
<td>first\\,option,second option</td>
|
174
|
+
</tr>
|
175
|
+
<tr>
|
176
|
+
<td>assertFailureOnNext</td>
|
177
|
+
<td>Actual value 'foo' did not match 'bar'</td>
|
178
|
+
<td/>
|
179
|
+
</tr>
|
180
|
+
<tr>
|
181
|
+
<td>verifyAttribute</td>
|
182
|
+
<td>theText@class</td>
|
183
|
+
<td>bar</td>
|
184
|
+
</tr>
|
185
|
+
<tr>
|
186
|
+
<td>assertFailureOnNext</td>
|
187
|
+
<td>Actual value 'foo' did match 'foo'</td>
|
188
|
+
<td/>
|
189
|
+
</tr>
|
190
|
+
<tr>
|
191
|
+
<td>verifyNotAttribute</td>
|
192
|
+
<td>theText@class</td>
|
193
|
+
<td>foo</td>
|
194
|
+
</tr>
|
195
|
+
</tbody>
|
196
|
+
</table>
|
197
|
+
</body>
|
198
|
+
</html>
|
@@ -0,0 +1,53 @@
|
|
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 Focus On Blur</title>
|
22
|
+
</head>
|
23
|
+
<body>
|
24
|
+
<table cellpadding="1" cellspacing="1" border="1">
|
25
|
+
<tbody>
|
26
|
+
<tr>
|
27
|
+
<td rowspan="1" colspan="3">Test Focus On Blur<br>
|
28
|
+
</td>
|
29
|
+
</tr>
|
30
|
+
<tr>
|
31
|
+
<td>open</td>
|
32
|
+
<td>./tests/html/test_focus_on_blur.html</td>
|
33
|
+
<td> </td>
|
34
|
+
</tr>
|
35
|
+
<tr>
|
36
|
+
<td>type</td>
|
37
|
+
<td>testInput</td>
|
38
|
+
<td>test</td>
|
39
|
+
</tr>
|
40
|
+
<tr>
|
41
|
+
<td>verifyAlert</td>
|
42
|
+
<td>Bad value</td>
|
43
|
+
<td></td>
|
44
|
+
</tr>
|
45
|
+
<tr>
|
46
|
+
<td>type</td>
|
47
|
+
<td>testInput</td>
|
48
|
+
<td>somethingelse</td>
|
49
|
+
</tr>
|
50
|
+
</tbody>
|
51
|
+
</table>
|
52
|
+
</body>
|
53
|
+
</html>
|
@@ -0,0 +1,81 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<!--
|
3
|
+
Copyright 2005 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 Back and Forward</title>
|
22
|
+
</head>
|
23
|
+
<body>
|
24
|
+
<table cellpadding="1" cellspacing="1" border="1">
|
25
|
+
<tbody>
|
26
|
+
<tr>
|
27
|
+
<td rowspan="1" colspan="3">Test Back and Forward<br>
|
28
|
+
</td>
|
29
|
+
</tr>
|
30
|
+
|
31
|
+
<tr>
|
32
|
+
<td>open</td>
|
33
|
+
<td>./tests/html/test_click_page1.html</td>
|
34
|
+
<td> </td>
|
35
|
+
</tr>
|
36
|
+
<tr>
|
37
|
+
<td>verifyTitle</td>
|
38
|
+
<td>Click Page 1</td>
|
39
|
+
<td> </td>
|
40
|
+
</tr>
|
41
|
+
|
42
|
+
<!-- Click a regular link -->
|
43
|
+
<tr>
|
44
|
+
<td>clickAndWait</td>
|
45
|
+
<td>link</td>
|
46
|
+
<td></td>
|
47
|
+
</tr>
|
48
|
+
<tr>
|
49
|
+
<td>verifyTitle</td>
|
50
|
+
<td>Click Page Target</td>
|
51
|
+
<td> </td>
|
52
|
+
</tr>
|
53
|
+
|
54
|
+
<tr>
|
55
|
+
<td>goBackAndWait</td>
|
56
|
+
<td> </td>
|
57
|
+
<td> </td>
|
58
|
+
</tr>
|
59
|
+
<tr>
|
60
|
+
<td>verifyTitle</td>
|
61
|
+
<td>Click Page 1</td>
|
62
|
+
<td> </td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<!-- history.forward() generates 'Permission Denied' in IE
|
66
|
+
<tr>
|
67
|
+
<td>goForward</td>
|
68
|
+
<td> </td>
|
69
|
+
<td> </td>
|
70
|
+
</tr>
|
71
|
+
<tr>
|
72
|
+
<td>verifyTitle</td>
|
73
|
+
<td>Click Page Target</td>
|
74
|
+
<td> </td>
|
75
|
+
</tr>
|
76
|
+
-->
|
77
|
+
|
78
|
+
</tbody>
|
79
|
+
</table>
|
80
|
+
</body>
|
81
|
+
</html>
|