watir 1.4.1 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/watir-console +1 -0
- data/changes.rb +119 -0
- data/license.rb +37 -0
- data/readme.rb +55 -120
- data/unittests/buttons_test.rb +107 -104
- data/unittests/buttons_xpath_test.rb +69 -0
- data/unittests/checkbox_test.rb +154 -141
- data/unittests/checkbox_xpath_test.rb +107 -0
- data/unittests/core_tests.rb +6 -2
- data/unittests/css_test.rb +50 -50
- data/unittests/defer_test.rb +47 -0
- data/unittests/dialog_test.rb +78 -0
- data/unittests/div2_xpath_test.rb +22 -0
- data/unittests/div_test.rb +159 -159
- data/unittests/div_xpath_test.rb +96 -0
- data/unittests/errorchecker_test.rb +22 -22
- data/unittests/filefield_test.rb +30 -23
- data/unittests/filefield_xpath_test.rb +35 -0
- data/unittests/form_test.rb +250 -229
- data/unittests/form_xpath_test.rb +253 -0
- data/unittests/frame_test.rb +123 -108
- data/unittests/google_form_test.rb +17 -0
- data/unittests/html/JavascriptClick.html +39 -0
- data/unittests/html/buttons1.html +3 -2
- data/unittests/html/checkboxes1.html +32 -14
- data/unittests/html/complex_table.html +1 -1
- data/unittests/html/depot_store.html +59 -0
- data/unittests/html/div.html +3 -21
- data/unittests/html/div_xml.html +21 -0
- data/unittests/html/fileupload.html +2 -2
- data/unittests/html/forms2.html +3 -3
- data/unittests/html/forms3.html +2 -2
- data/unittests/html/frame_links.html +2 -2
- data/unittests/html/google_india.html +119 -0
- data/unittests/html/iframeTest.html +2 -2
- data/unittests/html/images/map.GIF +0 -0
- data/unittests/html/images/map2.gif +0 -0
- data/unittests/html/images1.html +17 -2
- data/unittests/html/javascriptevents.html +3 -7
- data/unittests/html/links1.html +9 -8
- data/unittests/html/links_multi.html +14 -0
- data/unittests/html/list_matters.html +720 -0
- data/unittests/html/lists.html +18 -0
- data/unittests/html/map_test.html +31 -0
- data/unittests/html/modal_dialog.html +10 -0
- data/unittests/html/modal_dialog_launcher.html +12 -0
- data/unittests/html/new_browser.html +17 -0
- data/unittests/html/pass.html +3 -0
- data/unittests/html/popups1.html +1 -1
- data/unittests/html/pre.html +28 -0
- data/unittests/html/radioButtons1.html +6 -5
- data/unittests/html/selectboxes1.html +12 -11
- data/unittests/html/simple_table.html +1 -1
- data/unittests/html/simple_table_columns.html +1 -1
- data/unittests/html/table1.html +1 -1
- data/unittests/html/tableCell_using_xpath.html +19 -0
- data/unittests/html/textfields1.html +6 -4
- data/unittests/html/xpath_nbsp.html +12 -0
- data/unittests/ie_exists_test.rb +32 -0
- data/unittests/ie_mock.rb +78 -79
- data/unittests/ie_test.rb +39 -39
- data/unittests/images_test.rb +132 -155
- data/unittests/images_xpath_test.rb +91 -0
- data/unittests/links_multi_test.rb +36 -0
- data/unittests/links_test.rb +158 -152
- data/unittests/links_xpath_test.rb +40 -0
- data/unittests/lists_test.rb +29 -0
- data/unittests/map_test.rb +99 -0
- data/unittests/minmax_test.rb +23 -23
- data/unittests/navigate_test.rb +43 -51
- data/unittests/nbsp_xpath_test.rb +18 -0
- data/unittests/other/WindowLogonExample.rb +28 -0
- data/unittests/{WindowLogonExtra.rb → other/WindowLogonExtra.rb} +0 -0
- data/unittests/{all_tests_concurrent.rb → other/all_tests_concurrent.rb} +23 -23
- data/unittests/other/navigate_exception_test.rb +14 -0
- data/unittests/other/rexml_unit_test.rb +24 -0
- data/unittests/other/testcase_method_order_test.rb +36 -0
- data/unittests/other/testcase_verify_test.rb +25 -0
- data/unittests/other/wait_until_test.rb +99 -0
- data/unittests/pagecontainstext_test.rb +56 -37
- data/unittests/parent_child_test.rb +55 -0
- data/unittests/popups_test.rb +37 -37
- data/unittests/pre_test.rb +52 -0
- data/unittests/radios_test.rb +186 -155
- data/unittests/radios_xpath_test.rb +101 -0
- data/unittests/screen_capture_test.rb +41 -41
- data/unittests/selectbox_test.rb +223 -181
- data/unittests/selectbox_xpath_test.rb +113 -0
- data/unittests/setup.rb +29 -25
- data/unittests/speed_settings_test.rb +22 -0
- data/unittests/table_cell_using_xpath_test.rb +40 -0
- data/unittests/table_test.rb +315 -284
- data/unittests/table_xpath_test.rb +114 -0
- data/unittests/textarea_test.rb +81 -0
- data/unittests/textarea_xpath_test.rb +82 -0
- data/unittests/textfields_test.rb +205 -229
- data/unittests/textfields_xpath_test.rb +111 -0
- data/unittests/window_tests.rb +7 -0
- data/unittests/windows/attach_to_existing_window_test.rb +52 -0
- data/unittests/windows/attach_to_new_window_test.rb +82 -0
- data/unittests/windows/close_window_test.rb +22 -0
- data/unittests/windows/frame_links_test.rb +25 -0
- data/unittests/windows/ie-each_test.rb +48 -0
- data/unittests/windows/iedialog_test.rb +55 -0
- data/unittests/windows/js_events_test.rb +57 -0
- data/unittests/windows/jscriptExtraAlert.rb +6 -0
- data/unittests/windows/jscriptExtraConfirmCancel.rb +7 -0
- data/unittests/windows/jscriptExtraConfirmOk.rb +7 -0
- data/unittests/{jscriptPushButton.rb → windows/jscriptPushButton.rb} +1 -1
- data/unittests/windows/jscript_test.rb +64 -0
- data/unittests/windows/modal_dialog_test.rb +127 -0
- data/unittests/windows/new.rb +56 -0
- data/unittests/windows/open_close_test.rb +22 -0
- data/unittests/windows/send_keys_test.rb +34 -0
- data/unittests/xpath_tests.rb +10 -0
- data/watir.rb +4344 -3565
- data/watir/IEDialog/Release/IEDialog.dll +0 -0
- data/watir/WindowHelper.rb +13 -11
- data/watir/assertions.rb +36 -0
- data/watir/camel_case.rb +14 -5
- data/watir/close_all.rb +38 -0
- data/watir/contrib/enabled_popup.rb +21 -0
- data/watir/contrib/ie-new-process.rb +27 -0
- data/watir/contrib/page_checker.rb +29 -0
- data/watir/contrib/visible.rb +47 -0
- data/watir/cookiemanager.rb +4 -4
- data/watir/datahandler.rb +107 -0
- data/watir/dialog.rb +46 -0
- data/watir/elements.rb +65 -0
- data/watir/exceptions.rb +18 -36
- data/watir/ie-process.rb +40 -0
- data/watir/irb-history.rb +31 -0
- data/watir/process.rb +20 -0
- data/watir/testUnitAddons.rb +3 -42
- data/watir/testcase.rb +58 -0
- data/watir/utils.rb +20 -0
- data/watir/waiter.rb +88 -0
- data/watir/watir_simple.rb +4 -4
- data/watir/win32ole.rb +8 -0
- data/watir/win32ole/win32ole.so +0 -0
- data/watir/winClicker.rb +374 -400
- metadata +209 -128
- data/unittests/WindowLogonExample.rb +0 -30
- data/unittests/attachToExistingWindow_test.rb +0 -40
- data/unittests/js_events_test.rb +0 -77
- data/unittests/jscriptExtraAlert.rb +0 -6
- data/unittests/jscriptExtraConfirmCancel.rb +0 -7
- data/unittests/jscriptExtraConfirmOk.rb +0 -7
- data/unittests/jscript_test.rb +0 -57
- data/unittests/send_keys_test.rb +0 -29
- data/unittests/textAreafields_test.rb +0 -81
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# defect report from users of Watir Recorder
|
|
2
|
+
# revision: $Revision: 746 $
|
|
3
|
+
|
|
4
|
+
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 == __FILE__
|
|
5
|
+
require 'unittests/setup'
|
|
6
|
+
|
|
7
|
+
class TC_GoogleForm < Test::Unit::TestCase
|
|
8
|
+
include Watir
|
|
9
|
+
|
|
10
|
+
def setup
|
|
11
|
+
$ie.goto($htmlRoot + "google_india.html")
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def test_it
|
|
15
|
+
$ie.form( :name, "f").text_field( :name, "q").set("ruby")
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<html>
|
|
2
|
+
<head>
|
|
3
|
+
<title>Alert Test</title>
|
|
4
|
+
<script type="text/javascript">
|
|
5
|
+
function disp_confirm()
|
|
6
|
+
{
|
|
7
|
+
testResult = document.getElementById('testResult');
|
|
8
|
+
if (confirm("Press a button."))
|
|
9
|
+
testResult.value = "You pressed the Confirm and OK button!";
|
|
10
|
+
else
|
|
11
|
+
testResult.value = "You pressed the Confirm and Cancel button!";
|
|
12
|
+
}
|
|
13
|
+
function disp_alert()
|
|
14
|
+
{
|
|
15
|
+
testResult = document.getElementById('testResult');
|
|
16
|
+
alert("Press OK")
|
|
17
|
+
testResult.value = "You pressed the Alert button!"
|
|
18
|
+
}
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
</head>
|
|
22
|
+
<body>
|
|
23
|
+
<form action="get">
|
|
24
|
+
<p>There are two basic methods for bringing up dialogs using javascript.</p>
|
|
25
|
+
<ul>
|
|
26
|
+
<li>
|
|
27
|
+
alert(message) -- Display message and OK button.<br/>
|
|
28
|
+
<input type="button" id="btnAlert" value="alert" OnClick="disp_alert();" />
|
|
29
|
+
</li>
|
|
30
|
+
<li>
|
|
31
|
+
confirm(message) -- Display message and OK and Cancel buttons.<br/>
|
|
32
|
+
<input type="button" id="btnConfirm" value="confirm" OnClick="disp_confirm();" /> </li>
|
|
33
|
+
</ul>
|
|
34
|
+
<p>Results of dialogs:</p>
|
|
35
|
+
<input type="text" style="width:248px;" id="testResult" value="Test Result" />
|
|
36
|
+
</form>
|
|
37
|
+
</body>
|
|
38
|
+
|
|
39
|
+
</html>
|
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
<title>
|
|
4
4
|
Test page for buttons
|
|
5
5
|
</title>
|
|
6
|
+
<link rel="stylesheet" type="text/css" href="watir_unit_tests.css">
|
|
6
7
|
</head>
|
|
7
8
|
<body>
|
|
8
|
-
CVS Revision: $Revision $
|
|
9
|
+
CVS Revision: $Revision: 811 $
|
|
9
10
|
<br>
|
|
10
11
|
<br>
|
|
11
12
|
<table>
|
|
@@ -13,7 +14,7 @@ CVS Revision: $Revision $
|
|
|
13
14
|
<td>
|
|
14
15
|
<form name = test1 method = get action = pass.html>
|
|
15
16
|
|
|
16
|
-
<input type = button name = b1 id = b2 value = "Click Me" onClick="javascript:document.location='pass.html';" title = "this is button1">
|
|
17
|
+
<input type = button class="italic_button" name = b1 id = b2 value = "Click Me" onClick="javascript:document.location='pass.html';" title = "this is button1">
|
|
17
18
|
<br><input type = button name = b4 id=b5 value = "Disabled Button" onClick="javascript:document.location='fail.html';" disabled>
|
|
18
19
|
|
|
19
20
|
</form>
|
|
@@ -15,6 +15,8 @@ function setButtonState( )
|
|
|
15
15
|
}
|
|
16
16
|
</script>
|
|
17
17
|
|
|
18
|
+
<link rel="stylesheet" type="text/css" href="watir_unit_tests.css">
|
|
19
|
+
|
|
18
20
|
</head>
|
|
19
21
|
<body>
|
|
20
22
|
CVS Revision: $Revision $
|
|
@@ -23,46 +25,62 @@ CVS Revision: $Revision $
|
|
|
23
25
|
<table>
|
|
24
26
|
<tr>
|
|
25
27
|
<td>
|
|
26
|
-
CheckBox 1 <input type = checkbox name = box1>
|
|
28
|
+
CheckBox 1 <input type = checkbox name = box1 class=check_box_style >
|
|
29
|
+
</td>
|
|
30
|
+
</tr>
|
|
27
31
|
|
|
28
32
|
<tr>
|
|
29
33
|
<td>
|
|
30
34
|
Disabled<input type = checkbox name = box2 disabled>
|
|
31
|
-
|
|
35
|
+
</td>
|
|
36
|
+
</tr>
|
|
32
37
|
<tr>
|
|
33
38
|
<td>
|
|
34
39
|
Set<input type = checkbox name = box3 checked>
|
|
35
|
-
|
|
40
|
+
</td>
|
|
41
|
+
</tr>
|
|
36
42
|
<tr>
|
|
37
|
-
<td>
|
|
38
43
|
These 2 have ids
|
|
39
44
|
<br>
|
|
40
45
|
id= box4 value=1 <input type = checkbox id = box4 name= verify1 value = 1 checked>
|
|
41
46
|
<br>
|
|
42
47
|
id = box4 value=2 <input type = checkbox id = box4 name= verify2 value = 2 checked>
|
|
43
|
-
|
|
44
|
-
<br>
|
|
48
|
+
</tr>
|
|
45
49
|
<br>
|
|
50
|
+
<tr>
|
|
46
51
|
These boxes have the same name, but different values
|
|
47
|
-
|
|
52
|
+
</tr>
|
|
53
|
+
|
|
54
|
+
<tr>
|
|
48
55
|
Name = box4 value=1 <input type = checkbox name = box4 value = 1 checked>
|
|
49
|
-
|
|
56
|
+
</tr>
|
|
57
|
+
<tr>
|
|
50
58
|
Name = box4 value=2 <input type = checkbox name = box4 value = 2>
|
|
51
|
-
|
|
59
|
+
</tr>
|
|
60
|
+
<tr>
|
|
52
61
|
Name = box4 value=3 <input type = checkbox name = box4 value = 3>
|
|
53
|
-
|
|
62
|
+
</tr>
|
|
63
|
+
<tr>
|
|
54
64
|
Name = box4 value=4 <input type = checkbox name = box4 value = 4>
|
|
55
|
-
|
|
65
|
+
</tr>
|
|
66
|
+
<tr>
|
|
56
67
|
Name = box4 value=5 <input type = checkbox name = box4 value = 5 disabled title="box4-value5">
|
|
68
|
+
</tr>
|
|
57
69
|
|
|
58
70
|
<tr>
|
|
59
|
-
<td>
|
|
60
71
|
Name = box5 value=1 <input type = checkbox name = box5 value = 1 onClick='javascript:setButtonState( )'>
|
|
61
|
-
|
|
72
|
+
</tr>
|
|
62
73
|
|
|
63
74
|
<tr>
|
|
64
|
-
<td>
|
|
65
75
|
<input type = button name = foo value = foo disabled ><td> This button is used with checkbox box5. This button is enabled if the checkbox is enabled
|
|
76
|
+
</tr>
|
|
77
|
+
|
|
78
|
+
<tr>
|
|
79
|
+
Milk<input type = checkbox name = "box6" value ="Milk">
|
|
80
|
+
<br>
|
|
81
|
+
Tea<input type = checkbox name = "box6" value ="Tea">
|
|
82
|
+
</tr>
|
|
83
|
+
|
|
66
84
|
|
|
67
85
|
</table>
|
|
68
86
|
</body>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
2
|
+
<!-- saved from url=(0027)http://localhost:3000/store -->
|
|
3
|
+
<!--
|
|
4
|
+
! Excerpted from "Agile Web Development with Rails"
|
|
5
|
+
! We make no guarantees that this code is fit for any purpose.
|
|
6
|
+
! Visit http://www.pragmaticprogrammer.com for more book information.
|
|
7
|
+
--><HTML><HEAD><TITLE>Pragprog Books Online Store</TITLE>
|
|
8
|
+
<META http-equiv=Content-Type content="text/html; charset=utf-8"><LINK media=all
|
|
9
|
+
href="depot_store_files/scaffold.css" type=text/css rel=Stylesheet><LINK
|
|
10
|
+
media=all href="depot_store_files/depot.css" type=text/css rel=Stylesheet>
|
|
11
|
+
<META content="MSHTML 6.00.2900.2995" name=GENERATOR></HEAD>
|
|
12
|
+
<BODY>
|
|
13
|
+
<DIV id=banner><IMG src="depot_store_files/logo.png"> Pragmatic Bookshelf </DIV>
|
|
14
|
+
<DIV id=columns>
|
|
15
|
+
<DIV id=side><A href="http://www..../">Home</A><BR><A
|
|
16
|
+
href="http://www..../faq">Questions</A><BR><A
|
|
17
|
+
href="http://www..../news">News</A><BR><A
|
|
18
|
+
href="http://www..../contact">Contact</A><BR></DIV>
|
|
19
|
+
<DIV id=main><!--
|
|
20
|
+
! Excerpted from "Agile Web Development with Rails"
|
|
21
|
+
! We make no guarantees that this code is fit for any purpose.
|
|
22
|
+
! Visit http://www.pragmaticprogrammer.com for more book information.
|
|
23
|
+
-->
|
|
24
|
+
<DIV class=catalogentry><IMG src="depot_store_files/sk_auto_small.jpg">
|
|
25
|
+
<H3>Pragmatic Project Automation</H3>
|
|
26
|
+
<P><EM>Pragmatic Project Automation</EM> shows you how to improve the
|
|
27
|
+
consistency and repeatability of your project's procedures using automation to
|
|
28
|
+
reduce risk and errors. </P>
|
|
29
|
+
<P>Simply put, we're going to put this thing called a computer to work for you
|
|
30
|
+
doing the mundane (but important) project stuff. That means you'll have more
|
|
31
|
+
time and energy to do the really exciting---and difficult---stuff, like writing
|
|
32
|
+
quality code. </P><SPAN class=catalogprice>$29.95</SPAN> <A class=addtocart
|
|
33
|
+
href="http://localhost:3000/store/add_to_cart/4">Add to Cart</A><BR></DIV>
|
|
34
|
+
<DIV class=separator> </DIV>
|
|
35
|
+
<DIV class=catalogentry><IMG src="depot_store_files/sk_svn_small.jpg">
|
|
36
|
+
<H3>Pragmatic Version Control</H3>
|
|
37
|
+
<P>This book is a recipe-based approach to using Subversion that will get you up
|
|
38
|
+
and running quickly---and correctly. All projects need version control: it's a
|
|
39
|
+
foundational piece of any project's infrastructure. Yet half of all project
|
|
40
|
+
teams in the U.S. don't use any version control at all. Many others don't use it
|
|
41
|
+
well, and end up experiencing time-consuming problems. </P><SPAN
|
|
42
|
+
class=catalogprice>$29.95</SPAN> <A class=addtocart
|
|
43
|
+
href="http://localhost:3000/store/add_to_cart/12">Add to Cart</A><BR></DIV>
|
|
44
|
+
<DIV class=separator> </DIV>
|
|
45
|
+
<DIV class=catalogentry><IMG src="depot_store_files/sk_utc_small.jpg">
|
|
46
|
+
<H3>Pragmatic Unit Testing (C#)</H3>
|
|
47
|
+
<P>Pragmatic programmers use feedback to drive their development and personal
|
|
48
|
+
processes. The most valuable feedback you can get while coding comes from unit
|
|
49
|
+
testing. </P>
|
|
50
|
+
<P>Without good tests in place, coding can become a frustrating game of
|
|
51
|
+
"whack-a-mole." That's the carnival game where the player strikes at a
|
|
52
|
+
mechanical mole; it retreats and another mole pops up on the opposite side of
|
|
53
|
+
the field. The moles pop up and down so fast that you end up flailing your
|
|
54
|
+
mallet helplessly as the moles continue to pop up where you least expect them.
|
|
55
|
+
</P><SPAN class=catalogprice>$29.95</SPAN> <A class=addtocart
|
|
56
|
+
href="http://localhost:3000/store/add_to_cart/11">Add to Cart</A><BR></DIV>
|
|
57
|
+
<DIV class=separator> </DIV><A
|
|
58
|
+
href="http://localhost:3000/store/display_cart">Show my cart</A>
|
|
59
|
+
</DIV></DIV></BODY></HTML>
|
data/unittests/html/div.html
CHANGED
|
@@ -3,30 +3,12 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<title>Test page for Div</title>
|
|
5
5
|
|
|
6
|
-
<
|
|
7
|
-
DIV {font-size: 24pt;}
|
|
8
|
-
.redText {color: red;}
|
|
9
|
-
.blueText {color: blue;}
|
|
10
|
-
.italicText {font-style: italic;}
|
|
11
|
-
|
|
12
|
-
SPAN {font-size: 18pt;}
|
|
13
|
-
.redText {color: red;}
|
|
14
|
-
.blueText {color: blue;}
|
|
15
|
-
.italicText {font-style: italic;}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
P{font-size: 24pt;}
|
|
19
|
-
.redText {color: red;}
|
|
20
|
-
.blueText {color: blue;}
|
|
21
|
-
.italicText {font-style: italic;}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
</STYLE>
|
|
6
|
+
<link rel="stylesheet" type="text/css" href="watir_unit_tests.css">
|
|
25
7
|
|
|
26
8
|
|
|
27
9
|
</head>
|
|
28
10
|
<body>
|
|
29
|
-
CVS Revision: "$Revision:
|
|
11
|
+
CVS Revision: "$Revision: 1086 $"
|
|
30
12
|
<br>
|
|
31
13
|
<br>
|
|
32
14
|
<div id = div1 title = "Test1" >This text is in a div with an id of div1 and title of test1</div>
|
|
@@ -49,7 +31,7 @@ This input field gets its value from div3. Its name is text1<input type = text n
|
|
|
49
31
|
</div>
|
|
50
32
|
|
|
51
33
|
<div id=text_fields1>
|
|
52
|
-
Text1: <input type=
|
|
34
|
+
Text1: <input type=textarea name=div_text1 > Text2: <input type=text name=div_text2 > Text3: <input type=text name=div_text3>
|
|
53
35
|
</div>
|
|
54
36
|
|
|
55
37
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<html>
|
|
2
|
+
<head>
|
|
3
|
+
<title>Test</title>
|
|
4
|
+
</head>
|
|
5
|
+
|
|
6
|
+
<XML ID="Tags">
|
|
7
|
+
<Data>
|
|
8
|
+
<ButtonList>List</ButtonList>
|
|
9
|
+
<ButtonCreate>Create</ButtonCreate>
|
|
10
|
+
</Data>
|
|
11
|
+
</XML>
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
<body bgcolor="#ffff80">
|
|
15
|
+
This is the main portal screen
|
|
16
|
+
<div class="ButtonAction">
|
|
17
|
+
<a href="missing.html" ONMOUSEOVER="Gen_img_act('ButtonList','')" ONMOUSEOUT="Gen_img_inact('ButtonList','')" NAME="ButtonList" ID="ButtonList" style="text-decoration: none; position:relative"><span ID="ButtonListSpan" class="ButtonLabelOn" style="position:absolute; right:25; text-align: right; top:2; z-index:2; width:60px; height:20px; cursor:hand" ONMOUSEOVER="Gen_img_act('ButtonList','')" ONMOUSEOUT="Gen_img_inact('ButtonList','')" datasrc="#Tags" datafld="ButtonList"></span></a><br>
|
|
18
|
+
<a href="missing2.html" ONMOUSEOVER="Gen_img_act('ButtonCreate','')" ONMOUSEOUT="Gen_img_inact('ButtonCreate','')" NAME="ButtonCreate" ID="ButtonCreate" style="text-decoration: none; position:relative"><span ID="ButtonCreateSpan" class="ButtonLabelOn" style="position:absolute; right:25; text-align: right; top:2; z-index:2; width:60px; height:20px; cursor:hand" ONMOUSEOVER="Gen_img_act('ButtonCreate','')" ONMOUSEOUT="Gen_img_inact('ButtonCreate','')" datasrc="#Tags" datafld="ButtonCreate"></span></a>
|
|
19
|
+
</div>
|
|
20
|
+
</body>
|
|
21
|
+
</html>
|
|
@@ -5,14 +5,14 @@ Test page for File Fields
|
|
|
5
5
|
</title>
|
|
6
6
|
</head>
|
|
7
7
|
<body>
|
|
8
|
-
CVS Revision: "$Revision:
|
|
8
|
+
CVS Revision: "$Revision: 817 $"
|
|
9
9
|
<br>
|
|
10
10
|
<br>
|
|
11
11
|
<table>
|
|
12
12
|
|
|
13
13
|
<tr>
|
|
14
14
|
<td>
|
|
15
|
-
<input type = file name = file1 value = 'fileupload.html'>number 1
|
|
15
|
+
<input type = file name = file1 value = 'fileupload.html' class='file_class' >number 1
|
|
16
16
|
<br>
|
|
17
17
|
<input type = file id= file2 value = 'fileupload.html'>
|
|
18
18
|
|
data/unittests/html/forms2.html
CHANGED
|
@@ -5,13 +5,13 @@ Test page for Forms
|
|
|
5
5
|
</title>
|
|
6
6
|
</head>
|
|
7
7
|
<body>
|
|
8
|
-
CVS Revision: "$Revision:
|
|
8
|
+
CVS Revision: "$Revision: 1009 $"
|
|
9
9
|
<br>
|
|
10
10
|
<br>
|
|
11
11
|
<table>
|
|
12
12
|
<tr>
|
|
13
13
|
<td>
|
|
14
|
-
<form method = get action = pass.html
|
|
14
|
+
<form method = get action = pass.html>
|
|
15
15
|
<input type = button name = b1 id = b2 value = "Click Me" >
|
|
16
16
|
</form>
|
|
17
17
|
|
|
@@ -20,7 +20,7 @@ CVS Revision: "$Revision: 1.3 $"
|
|
|
20
20
|
|
|
21
21
|
<tr>
|
|
22
22
|
<td>
|
|
23
|
-
<form name = test2 method = get action = pass2.html>
|
|
23
|
+
<form name = test2 id = f2 method = get action = pass2.html>
|
|
24
24
|
<br><input type = submit value=Submit>
|
|
25
25
|
</form
|
|
26
26
|
<td> This form is identical to the one above
|
data/unittests/html/forms3.html
CHANGED
|
@@ -17,7 +17,7 @@ document.all.vis2.value = document.getElementById("hidden_1").value;
|
|
|
17
17
|
|
|
18
18
|
</head>
|
|
19
19
|
<body>
|
|
20
|
-
CVS Revision: "$Revision:
|
|
20
|
+
CVS Revision: "$Revision: 763 $"
|
|
21
21
|
<br>
|
|
22
22
|
<br>
|
|
23
23
|
<table>
|
|
@@ -105,7 +105,7 @@ CVS Revision: "$Revision: 1.6 $"
|
|
|
105
105
|
<tr>
|
|
106
106
|
<td>
|
|
107
107
|
<form name = buttonsubmit method = get action = pass.html>
|
|
108
|
-
This form is has a submit button that is an image
|
|
108
|
+
<p>This form is has a submit button that is an image</p>
|
|
109
109
|
<input type = text name = tt1>
|
|
110
110
|
<input type = image src = images/button.jpg alt = "submit" name=imm>
|
|
111
111
|
</form>
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
2
|
+
<!-- saved from url=(0024)http://www.google.co.in/ -->
|
|
3
|
+
<HTML><HEAD><TITLE>Google</TITLE>
|
|
4
|
+
<META http-equiv=content-type content="text/html; charset=UTF-8">
|
|
5
|
+
<STYLE>BODY {
|
|
6
|
+
FONT-FAMILY: arial,sans-serif
|
|
7
|
+
}
|
|
8
|
+
TD {
|
|
9
|
+
FONT-FAMILY: arial,sans-serif
|
|
10
|
+
}
|
|
11
|
+
A {
|
|
12
|
+
FONT-FAMILY: arial,sans-serif
|
|
13
|
+
}
|
|
14
|
+
P {
|
|
15
|
+
FONT-FAMILY: arial,sans-serif
|
|
16
|
+
}
|
|
17
|
+
.h {
|
|
18
|
+
FONT-FAMILY: arial,sans-serif
|
|
19
|
+
}
|
|
20
|
+
.h {
|
|
21
|
+
FONT-SIZE: 20px
|
|
22
|
+
}
|
|
23
|
+
.q {
|
|
24
|
+
COLOR: #0000cc
|
|
25
|
+
}
|
|
26
|
+
</STYLE>
|
|
27
|
+
|
|
28
|
+
<SCRIPT>
|
|
29
|
+
<!--
|
|
30
|
+
function sf(){document.f.q.focus();}
|
|
31
|
+
function clk(url,ct,cd,sg){if(document.images){var u="";if (url) u="&url="+escape(url).replace(/\+/g,"%2B");new Image().src="/url?sa=T&ct="+escape(ct)+"&cd="+escape(cd)+u+"&ei=7doRRJDEGJOssgHNw9j1Cg"+sg;}return true;}
|
|
32
|
+
// -->
|
|
33
|
+
</SCRIPT>
|
|
34
|
+
|
|
35
|
+
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
|
|
36
|
+
<BODY text=#000000 vLink=#551a8b aLink=#ff0000 link=#0000cc bgColor=#ffffff
|
|
37
|
+
topMargin=3 onload=sf() marginheight="3">
|
|
38
|
+
<CENTER>
|
|
39
|
+
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
|
|
40
|
+
<TBODY>
|
|
41
|
+
<TR>
|
|
42
|
+
<TD noWrap align=right><FONT size=-1><A
|
|
43
|
+
onmousedown="return clk('/url?sa=p&pref=ig&pval=2&q=http://www.google.co.in/ig%3Fhl%3Den','pro','hppphnu:def','')"
|
|
44
|
+
href="http://www.google.co.in/url?sa=p&pref=ig&pval=2&q=http://www.google.co.in/ig%3Fhl%3Den">Personalized
|
|
45
|
+
Home</A> | <A
|
|
46
|
+
href="https://www.google.com/accounts/Login?continue=http://www.google.co.in/&hl=en">Sign
|
|
47
|
+
in</A></FONT></TD></TR>
|
|
48
|
+
<TR height=4>
|
|
49
|
+
<TD><IMG height=1 alt="" width=1></TD></TR></TBODY></TABLE>
|
|
50
|
+
<TABLE cellSpacing=0 cellPadding=0 border=0>
|
|
51
|
+
<TBODY>
|
|
52
|
+
<TR>
|
|
53
|
+
<TD vAlign=bottom align=right><IMG height=78 alt=Google
|
|
54
|
+
src="google_india_files/hp0.gif" width=158></TD>
|
|
55
|
+
<TD vAlign=bottom><IMG height=78 alt="" src="google_india_files/hp1.gif"
|
|
56
|
+
width=50></TD>
|
|
57
|
+
<TD vAlign=bottom><IMG height=78 alt="" src="google_india_files/hp2.gif"
|
|
58
|
+
width=68></TD></TR>
|
|
59
|
+
<TR>
|
|
60
|
+
<TD class=h vAlign=top align=right><B></B></TD>
|
|
61
|
+
<TD vAlign=top><IMG height=32 alt="" src="google_india_files/hp3.gif"
|
|
62
|
+
width=50></TD>
|
|
63
|
+
<TD class=h vAlign=top><FONT style="FONT-SIZE: 16px"
|
|
64
|
+
color=#6f6f6f><B>India</B></FONT></TD></TR></TBODY></TABLE><BR>
|
|
65
|
+
<FORM name=f action=/search>
|
|
66
|
+
<SCRIPT><!--
|
|
67
|
+
function qs(el) {if (window.RegExp && window.encodeURIComponent) {var ue=el.href;var qe=encodeURIComponent(document.f.q.value);if(ue.indexOf("q=")!=-1){el.href=ue.replace(new RegExp("q=[^&$]*"),"q="+qe);}else{el.href=ue+"&q="+qe;}}return 1;}
|
|
68
|
+
// -->
|
|
69
|
+
</SCRIPT>
|
|
70
|
+
|
|
71
|
+
<TABLE cellSpacing=0 cellPadding=4 border=0>
|
|
72
|
+
<TBODY>
|
|
73
|
+
<TR>
|
|
74
|
+
<TD noWrap><FONT size=-1><B>Web</B> <A class=q
|
|
75
|
+
id=1a onclick="return qs(this);"
|
|
76
|
+
href="http://www.google.co.in/imghp?hl=en&tab=wi">Images</A> <A
|
|
77
|
+
class=q id=2a onclick="return qs(this);"
|
|
78
|
+
href="http://groups.google.co.in/grphp?hl=en&tab=wg">Groups</A> <A
|
|
79
|
+
class=q id=4a onclick="return qs(this);"
|
|
80
|
+
href="http://news.google.co.in/nwshp?hl=en&tab=wn">News</A> <!--"/*"/*--><FONT
|
|
81
|
+
size=-1><A class=q onclick="return window.qs?qs(this):1"
|
|
82
|
+
href="http://127.0.0.1:4664/&s=WVXmRenerLHxmR4w8rjatUMGWkE">Desktop</A></FONT> <B><A
|
|
83
|
+
class=q
|
|
84
|
+
href="http://www.google.co.in/intl/en/options/">more »</A></B></FONT></TD></TR></TBODY></TABLE>
|
|
85
|
+
<TABLE cellSpacing=0 cellPadding=0>
|
|
86
|
+
<TBODY>
|
|
87
|
+
<TR>
|
|
88
|
+
<TD width="25%"> </TD>
|
|
89
|
+
<TD align=middle><INPUT type=hidden value=en name=hl><INPUT
|
|
90
|
+
title="Google Search" maxLength=2048 size=55 name=q><BR><INPUT type=submit value="Google Search" name=btnG><INPUT type=submit value="I'm Feeling Lucky" name=btnI></TD>
|
|
91
|
+
<TD vAlign=top noWrap width="25%"><FONT size=-2> <A
|
|
92
|
+
href="http://www.google.co.in/advanced_search?hl=en">Advanced
|
|
93
|
+
Search</A><BR> <A
|
|
94
|
+
href="http://www.google.co.in/preferences?hl=en">Preferences</A><BR> <A
|
|
95
|
+
href="http://www.google.co.in/language_tools?hl=en">Language
|
|
96
|
+
Tools</A></FONT></TD></TR>
|
|
97
|
+
<TR>
|
|
98
|
+
<TD align=middle colSpan=3><FONT size=-1>Search: <INPUT id=all type=radio
|
|
99
|
+
CHECKED value="" name=meta><LABEL for=all> the web</LABEL><INPUT id=cty
|
|
100
|
+
type=radio value=cr=countryIN name=meta><LABEL for=cty>pages from
|
|
101
|
+
India</LABEL></FONT></TD></TR></TBODY></TABLE></FORM><BR><FONT
|
|
102
|
+
size=-1>Google.co.in offered in: <A href="http://www.google.co.in/hi">Hindi</A>
|
|
103
|
+
<A href="http://www.google.co.in/bn">Bengali</A> <A
|
|
104
|
+
href="http://www.google.co.in/te">Telugu</A> <A
|
|
105
|
+
href="http://www.google.co.in/mr">Marathi</A> <A
|
|
106
|
+
href="http://www.google.co.in/ta">Tamil</A> </FONT><BR><BR><BR><FONT size=-1><A
|
|
107
|
+
href="http://www.google.co.in/ads/">Advertising Programs</A> - <A
|
|
108
|
+
href="http://www.google.co.in/intl/en/about.html">About Google</A> - <A
|
|
109
|
+
onmousedown="return clk(this.href,'pro','hppwebjob:en_in','')"
|
|
110
|
+
href="http://www.google.co.in/jobs/positions-in.html">We're Hiring</A> - <A
|
|
111
|
+
href="http://www.google.com/ncr">Go to Google.com</A><SPAN id=hp
|
|
112
|
+
style="BEHAVIOR: url(#default#homepage)"></SPAN>
|
|
113
|
+
<SCRIPT>
|
|
114
|
+
//<!--
|
|
115
|
+
if (!hp.isHomePage('http://www.google.co.in/')) {document.write("<p><a href=\"/mgyhp.html\" onClick=\"style.behavior='url(#default#homepage)';setHomePage('http://www.google.co.in/');\">Make Google Your Homepage!</a>");}
|
|
116
|
+
//-->
|
|
117
|
+
</SCRIPT>
|
|
118
|
+
</FONT>
|
|
119
|
+
<P><FONT size=-2>©2006 Google</FONT></P></CENTER></BODY></HTML>
|