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,75 @@
|
|
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="./TestOpen.html">TestOpen</a></td></tr>
|
32
|
+
<tr><td><a href="./TestClick.html">TestClick</a></td></tr>
|
33
|
+
<tr><td><a href="./TestClickJavascriptHref.html">TestClickJavascriptHref</a></td></tr>
|
34
|
+
<tr><td><a href="./TestType.html">TestType</a></td></tr>
|
35
|
+
<tr><td><a href="./TestSelect.html">TestSelect</a></td></tr>
|
36
|
+
<tr><td><a href="./TestSelectWindow.html">TestSelectWindow</a></td></tr>
|
37
|
+
<tr><td><a href="./TestStore.html">TestStore</a></td></tr>
|
38
|
+
<tr><td><a href="./TestJavascriptParameters.html">TestJavascriptParameters</a></td></tr>
|
39
|
+
<tr><td><a href="./TestPause.html">TestPause</a></td></tr>
|
40
|
+
<tr><td><a href="./TestWait.html">TestWait</a></td></tr>
|
41
|
+
<tr><td><a href="./TestWaitInPopupWindow.html">TestWaitInPopupWindow</a></td></tr>
|
42
|
+
<tr><td><a href="./TestWaitFor.html">TestWaitFor</a></td></tr>
|
43
|
+
<tr><td><a href="./TestVerifications.html">TestVerifications</a></td></tr>
|
44
|
+
<tr><td><a href="./TestPatternMatching.html">TestPatternMatching</a></td></tr>
|
45
|
+
<tr><td><a href="./TestLocators.html">TestLocators</a></td></tr>
|
46
|
+
<tr><td><a href="./TestImplicitLocators.html">TestImplicitLocators</a></td></tr>
|
47
|
+
<tr><td><a href="./TestXPathLocators.html">TestXPathLocators</a></td></tr>
|
48
|
+
<tr><td><a href="./TestGoBack.html">TestGoBack</a></td></tr>
|
49
|
+
|
50
|
+
<tr><td><a href="./events/TestLinkEvents.html">TestLinkEvents</a></td></tr>
|
51
|
+
<tr><td><a href="./events/TestButtonEvents.html">TestButtonEvents</a></td></tr>
|
52
|
+
<tr><td><a href="./events/TestSelectEvents.html">TestSelectEvents</a></td></tr>
|
53
|
+
<tr><td><a href="./events/TestRadioEvents.html">TestRadioEvents</a></td></tr>
|
54
|
+
<tr><td><a href="./events/TestCheckboxEvents.html">TestCheckboxEvents</a></td></tr>
|
55
|
+
<tr><td><a href="./events/TestTextEvents.html">TestTextEvents</a></td></tr>
|
56
|
+
<tr><td><a href="./events/TestFireEvents.html">TestFireEvents</a></td></tr>
|
57
|
+
<tr><td><a href="./TestFocusOnBlur.html">TestFocusOnBlur</a></td></tr>
|
58
|
+
<tr><td><a href="./TestVerifyAlerts.html">TestVerifyAlerts</a></td></tr>
|
59
|
+
<tr><td><a href="./TestConfirmations.html">TestVerifyConfirmations</a></td></tr>
|
60
|
+
<tr><td><a href="./TestPrompting.html">TestVerifyPrompt</a></td></tr>
|
61
|
+
<tr><td><a href="./TestVisibility.html">TestVisibility</a></td></tr>
|
62
|
+
<tr><td><a href="./TestVerifyEditable.html">TestVerifyEditable</a></td></tr>
|
63
|
+
|
64
|
+
<tr><td><a href="./TestFailingVerifications.html">TestFailingVerifications</a></td></tr>
|
65
|
+
<tr><td><a href="./TestFailingAssert.html">TestFailingAssert</a></td></tr>
|
66
|
+
<tr><td><a href="./TestCommandError.html">TestCommandError</a></td></tr>
|
67
|
+
<tr><td><a href="./TestVerifyAlertsFailures.html">TestVerifyAlertsFailures</a></td></tr>
|
68
|
+
<tr><td><a href="./TestVerifyConfirmationFailures.html">TestVerifyConfirmationFailures</a></td></tr>
|
69
|
+
<tr><td><a href="./TestVisibilityFailures.html">TestVisibilityFailures</a></td></tr>
|
70
|
+
<tr><td><a href="./TestVerifyEditableFailures.html">TestVerifyEditableFailures</a></td></tr>
|
71
|
+
</tbody>
|
72
|
+
</table>
|
73
|
+
|
74
|
+
</body>
|
75
|
+
</html>
|
@@ -0,0 +1,79 @@
|
|
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 Type</title>
|
22
|
+
</head>
|
23
|
+
<body>
|
24
|
+
<table cellpadding="1" cellspacing="1" border="1">
|
25
|
+
<tbody>
|
26
|
+
<tr>
|
27
|
+
<td rowspan="1" colspan="3">Test Type<br>
|
28
|
+
</td>
|
29
|
+
</tr>
|
30
|
+
<tr>
|
31
|
+
<td>open</td>
|
32
|
+
<td>./tests/html/test_type_page1.html</td>
|
33
|
+
<td> </td>
|
34
|
+
</tr>
|
35
|
+
<tr>
|
36
|
+
<td>verifyValue</td>
|
37
|
+
<td>username</td>
|
38
|
+
<td> </td>
|
39
|
+
</tr>
|
40
|
+
<tr>
|
41
|
+
<td>type</td>
|
42
|
+
<td>username</td>
|
43
|
+
<td>TestUser</td>
|
44
|
+
</tr>
|
45
|
+
<tr>
|
46
|
+
<td>verifyValue</td>
|
47
|
+
<td>username</td>
|
48
|
+
<td>TestUser</td>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<td>verifyValue</td>
|
52
|
+
<td>password</td>
|
53
|
+
<td> </td>
|
54
|
+
</tr>
|
55
|
+
<tr>
|
56
|
+
<td>type</td>
|
57
|
+
<td>password</td>
|
58
|
+
<td>testUserPassword</td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td>verifyValue</td>
|
62
|
+
<td>password</td>
|
63
|
+
<td>testUserPassword</td>
|
64
|
+
</tr>
|
65
|
+
<tr>
|
66
|
+
<td>clickAndWait</td>
|
67
|
+
<td>submitButton</td>
|
68
|
+
<td> </td>
|
69
|
+
</tr>
|
70
|
+
<tr>
|
71
|
+
<td>verifyTextPresent</td>
|
72
|
+
<td>Welcome, TestUser!<br>
|
73
|
+
</td>
|
74
|
+
<td> </td>
|
75
|
+
</tr>
|
76
|
+
</tbody>
|
77
|
+
</table>
|
78
|
+
</body>
|
79
|
+
</html>
|
@@ -0,0 +1,81 @@
|
|
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 For Sample User Functions</title>
|
22
|
+
</head>
|
23
|
+
<body>
|
24
|
+
<table cellpadding="1" cellspacing="1" border="1">
|
25
|
+
<tbody>
|
26
|
+
<tr>
|
27
|
+
<td rowspan="1" colspan="3">Test For Sample User Functions<br>
|
28
|
+
</td>
|
29
|
+
</tr>
|
30
|
+
<tr>
|
31
|
+
<td>open</td>
|
32
|
+
<td>./tests/html/test_type_page1.html</td>
|
33
|
+
<td> </td>
|
34
|
+
</tr>
|
35
|
+
|
36
|
+
<!-- Type 'TestUserTestUser' into the username field -->
|
37
|
+
<tr>
|
38
|
+
<td>typeRepeated</td>
|
39
|
+
<td>username</td>
|
40
|
+
<td>TestUser</td>
|
41
|
+
</tr>
|
42
|
+
<tr>
|
43
|
+
<td>verifyValue</td>
|
44
|
+
<td>username</td>
|
45
|
+
<td>TestUserTestUser</td>
|
46
|
+
</tr>
|
47
|
+
<!-- Verify that 'TestUser' is repeated in the field -->
|
48
|
+
<tr>
|
49
|
+
<td>verifyValueRepeated</td>
|
50
|
+
<td>username</td>
|
51
|
+
<td>TestUser</td>
|
52
|
+
</tr>
|
53
|
+
<!-- Verify that we can find an element with value == 'TestUser' repeated -->
|
54
|
+
<tr>
|
55
|
+
<td>verifyElementPresent</td>
|
56
|
+
<td>valuerepeated=TestUser</td>
|
57
|
+
<td></td>
|
58
|
+
</tr>
|
59
|
+
<!-- Verify that we cannot find an element with value == 'Test' repeated -->
|
60
|
+
<tr>
|
61
|
+
<td>verifyElementNotPresent</td>
|
62
|
+
<td>valuerepeated=Test</td>
|
63
|
+
<td></td>
|
64
|
+
</tr>
|
65
|
+
|
66
|
+
<!-- Type 'Test' twice into the element with value='TestUserTestUser' -->
|
67
|
+
<tr>
|
68
|
+
<td>typeRepeated</td>
|
69
|
+
<td>valuerepeated=TestUser</td>
|
70
|
+
<td>Test</td>
|
71
|
+
</tr>
|
72
|
+
<!-- Verify that we not CAN find an element with value == 'Test' repeated -->
|
73
|
+
<tr>
|
74
|
+
<td>verifyElementPresent</td>
|
75
|
+
<td>valuerepeated=Test</td>
|
76
|
+
<td></td>
|
77
|
+
</tr>
|
78
|
+
</tbody>
|
79
|
+
</table>
|
80
|
+
</body>
|
81
|
+
</html>
|
@@ -0,0 +1,164 @@
|
|
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 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 Verifications<br>
|
28
|
+
</td>
|
29
|
+
</tr>
|
30
|
+
|
31
|
+
<tr>
|
32
|
+
<td>open</td>
|
33
|
+
<td>./tests/html/test_verifications.html?foo=bar</td>
|
34
|
+
<td> </td>
|
35
|
+
</tr>
|
36
|
+
|
37
|
+
<tr>
|
38
|
+
<td>verifyLocation</td>
|
39
|
+
<td>/tests/html/test_verifications.html</td>
|
40
|
+
<td></td>
|
41
|
+
</tr>
|
42
|
+
<tr>
|
43
|
+
<td>verifyLocation</td>
|
44
|
+
<td>/tests/html/test_verifications.html?foo=bar</td>
|
45
|
+
<td></td>
|
46
|
+
</tr>
|
47
|
+
<tr>
|
48
|
+
<td>verifyValue</td>
|
49
|
+
<td>theText</td>
|
50
|
+
<td>the text value</td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td>verifyNotValue</td>
|
54
|
+
<td>theText</td>
|
55
|
+
<td>not the text value</td>
|
56
|
+
</tr>
|
57
|
+
<tr>
|
58
|
+
<td>verifyValue</td>
|
59
|
+
<td>theHidden</td>
|
60
|
+
<td>the hidden value</td>
|
61
|
+
</tr>
|
62
|
+
<tr>
|
63
|
+
<td>verifyText</td>
|
64
|
+
<td>theSpan</td>
|
65
|
+
<td>this is the span</td>
|
66
|
+
</tr>
|
67
|
+
<tr>
|
68
|
+
<td>verifyNotText</td>
|
69
|
+
<td>theSpan</td>
|
70
|
+
<td>blah blah</td>
|
71
|
+
</tr>
|
72
|
+
<tr>
|
73
|
+
<td>verifyTextPresent</td>
|
74
|
+
<td>this is the span</td>
|
75
|
+
<td></td>
|
76
|
+
</tr>
|
77
|
+
<tr>
|
78
|
+
<td>verifyTextNotPresent</td>
|
79
|
+
<td>this is not the span</td>
|
80
|
+
<td></td>
|
81
|
+
</tr>
|
82
|
+
<tr>
|
83
|
+
<td>verifyElementPresent</td>
|
84
|
+
<td>theSpan</td>
|
85
|
+
<td></td>
|
86
|
+
</tr>
|
87
|
+
<tr>
|
88
|
+
<td>verifyElementPresent</td>
|
89
|
+
<td>theText</td>
|
90
|
+
<td></td>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<td>verifyElementNotPresent</td>
|
94
|
+
<td>unknown</td>
|
95
|
+
<td></td>
|
96
|
+
</tr>
|
97
|
+
<tr>
|
98
|
+
<td>verifyTable</td>
|
99
|
+
<td>theTable.1.0</td>
|
100
|
+
<td>c</td>
|
101
|
+
</tr>
|
102
|
+
<tr>
|
103
|
+
<td>verifySelected</td>
|
104
|
+
<td>theSelect</td>
|
105
|
+
<td>index=1</td>
|
106
|
+
</tr>
|
107
|
+
<tr>
|
108
|
+
<td>verifySelected</td>
|
109
|
+
<td>theSelect</td>
|
110
|
+
<td>value=option2</td>
|
111
|
+
</tr>
|
112
|
+
<tr>
|
113
|
+
<!--
|
114
|
+
This is an example of why you can't just find the first option that
|
115
|
+
matches and then verify that it is the selected option.
|
116
|
+
-->
|
117
|
+
<td>verifySelected</td>
|
118
|
+
<td>theSelect</td>
|
119
|
+
<td>value=opt*</td>
|
120
|
+
</tr>
|
121
|
+
<tr>
|
122
|
+
<td>verifySelected</td>
|
123
|
+
<td>theSelect</td>
|
124
|
+
<td>label=second option</td>
|
125
|
+
</tr>
|
126
|
+
<tr>
|
127
|
+
<td>verifySelected</td>
|
128
|
+
<td>theSelect</td>
|
129
|
+
<td>second option</td>
|
130
|
+
</tr>
|
131
|
+
<tr>
|
132
|
+
<td>verifySelected</td>
|
133
|
+
<td>theSelect</td>
|
134
|
+
<td>id=o2</td>
|
135
|
+
</tr>
|
136
|
+
<tr>
|
137
|
+
<td>verifySelectOptions</td>
|
138
|
+
<td>theSelect</td>
|
139
|
+
<td>first option,second option,third\,\,option</td>
|
140
|
+
</tr>
|
141
|
+
<tr>
|
142
|
+
<td>verifyAttribute</td>
|
143
|
+
<td>theText@class</td>
|
144
|
+
<td>foo</td>
|
145
|
+
</tr>
|
146
|
+
<tr>
|
147
|
+
<td>verifyNotAttribute</td>
|
148
|
+
<td>theText@class</td>
|
149
|
+
<td>fox</td>
|
150
|
+
</tr>
|
151
|
+
<tr>
|
152
|
+
<td>verifyTitle</td>
|
153
|
+
<td>theTitle</td>
|
154
|
+
<td> </td>
|
155
|
+
</tr>
|
156
|
+
<tr>
|
157
|
+
<td>verifyNotTitle</td>
|
158
|
+
<td>Blah Blah</td>
|
159
|
+
<td> </td>
|
160
|
+
</tr>
|
161
|
+
</tbody>
|
162
|
+
</table>
|
163
|
+
</body>
|
164
|
+
</html>
|
@@ -0,0 +1,80 @@
|
|
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 Alert Verifification</title>
|
22
|
+
</head>
|
23
|
+
<body>
|
24
|
+
<table cellpadding="1" cellspacing="1" border="1">
|
25
|
+
<tbody>
|
26
|
+
<tr>
|
27
|
+
<td rowspan="1" colspan="3">Test Alert verifyment<br>
|
28
|
+
</td>
|
29
|
+
</tr>
|
30
|
+
|
31
|
+
<tr>
|
32
|
+
<td>open</td>
|
33
|
+
<td>./tests/html/test_verify_alert.html</td>
|
34
|
+
<td> </td>
|
35
|
+
</tr>
|
36
|
+
|
37
|
+
<tr>
|
38
|
+
<td>click</td>
|
39
|
+
<td>oneAlert</td>
|
40
|
+
<td></td>
|
41
|
+
</tr>
|
42
|
+
<tr>
|
43
|
+
<td>verifyAlert</td>
|
44
|
+
<td>Store Below 494 degrees K!</td>
|
45
|
+
<td></td>
|
46
|
+
</tr>
|
47
|
+
|
48
|
+
<tr>
|
49
|
+
<td>click</td>
|
50
|
+
<td>twoAlerts</td>
|
51
|
+
<td></td>
|
52
|
+
</tr>
|
53
|
+
<tr>
|
54
|
+
<td>verifyAlert</td>
|
55
|
+
<td>* 220 degrees C!</td>
|
56
|
+
<td></td>
|
57
|
+
</tr>
|
58
|
+
<tr>
|
59
|
+
<td>verifyAlert</td>
|
60
|
+
<td>regexp:^Store Below 429 degrees F!</td>
|
61
|
+
<td></td>
|
62
|
+
</tr>
|
63
|
+
|
64
|
+
<tr>
|
65
|
+
<td>clickAndWait</td>
|
66
|
+
<td>alertAndLeave</td>
|
67
|
+
<td></td>
|
68
|
+
</tr>
|
69
|
+
|
70
|
+
<tr>
|
71
|
+
<td>verifyAlert</td>
|
72
|
+
<td>I'm Melting! I'm Melting!</td>
|
73
|
+
<td></td>
|
74
|
+
</tr>
|
75
|
+
|
76
|
+
|
77
|
+
</tbody>
|
78
|
+
</table>
|
79
|
+
</body>
|
80
|
+
</html>
|