Hi Bret,
Thank you very much.
I am attaching the command prompt details for Watir 1.4 core_tests.
Also, I have downloaded 1.5 gem and ran the same. afterwards, I tried the
core_tests again. It shows 2 failures. I have attached the command prompt
details of that as well.
Note: I tried to run the googleSearch example, it ran fine.
Regards,
Raghu
From: Bret Pettichord <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: [Wtr-general] Unit tests failed.
Date: Sun, 17 Sep 2006 01:18:23 -0500
Raghu,
I suspect that you are fine. If you want, you can run "core_tests.rb".
There are some unit tests that often fail, and these have been removed.
So if core-tests run fine, i think you are good.
Also if you want, you can send us the actual text of the error messages
and we can let you know if you should be worried.
You can also use Watir 1.5 right now. It is still in development, and
lacks documentation. It also has a few regression bugs. But mostly it is
stable. To find it, just google for "watir 1.5".
Bret
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
E:\Documents and Settings\Raghunath>cd\
E:\>cd pro*
E:\Program Files>cd wat*
E:\Program Files\Watir>cd unitt*
E:\Program Files\Watir\unittests>core_tests.rb
Loaded suite E:/Program Files/Watir/unittests/core_tests
Started
...........................................................-----------Objects
in
page -------------
id= src=
button name=b1 id=b2 value=Click Me
al
t= src=
id=
id= value=0
id= value=0
checkbox name=check1 id= value=10
al
t= src=
checkbox name=check1 id= value=20
al
t= src=
checkbox name=check1 id= value=30
al
t= src=
radio name=r1 id= value=a
al
t= src=
radio name=r1 id= value=b
al
t= src=
radio name=r1 id= value=c
al
t= src=
radio name=r1 id= value=d
al
t= src=
text name= id=t1 value=
al
t= src=
text name= id=t2 value=
al
t= src=
select-one name=s1 id= value=
select-multiple name=s2 id= value=
submit name= id= value=Submit
al
t= src=
reset name= id=reset_button value=Reset
al
t= src=
text name=g1 id= value=textfield
al
t= src=
button name=g1 id= value=button
al
t= src=
checkbox name=g1 id= value=1
al
t= src=
radio name=g1 id= value=2
al
t= src=
text name= id=g1 value=textfield_id
al
t= src=
button name= id=g1 value=button_id
al
t= src=
checkbox name= id=g1 value=1_id
al
t= src=
radio name= id=g1 value=2_id
al
t= src=
text name=tt1 id= value=
al
t= src=
image name=imm id= value=
al
t=submit
src=file:///E:/Program%20Files/Watir/unittests/html/images/but
ton.jpg
hidden name=hid1 id= value=
al
t= src=
hidden name= id=hidden_1 value=
al
t= src=
button name= id= value=Show Hidden
al
t= src=
text name=vis1 id= value=
al
t= src=
text name=vis2 id= value=
al
t= src=
.
<BODY>CVS Revision: "$Revision: 1.6 $" <BR><BR>
<TABLE>
<TBODY>
<TR>
<TD>
<FORM action=pass.html method=get><INPUT id=b2 type=button value="Click Me"
name
=b1> </FORM>
<TD>
<TR>
<TD>
<FORM name=test2 action=pass2.html method=get>
<UL>
<LI>ListItem1
<LI><SPAN>ListItem2</SPAN> </LI></UL><BR><INPUT type=checkbox value=10
name=chec
k1> <BR><INPUT type=checkbox value=20 name=check1> <BR><INPUT type=checkbox
valu
e=30 name=check1> <BR><INPUT type=radio value=a name=r1 selected> <BR><INPUT
typ
e=radio value=b name=r1> <BR><INPUT type=radio value=c name=r1> <BR><INPUT
type=
radio value=d name=r1> <BR><INPUT id=t1> <BR><INPUT id=t2> <BR><SELECT
name=s1>
<OPTION selected>1</OPTION> <OPTION>2</OPTION></SELECT> <BR><SELECT multiple
nam
e=s2 visible="3"> <OPTION>1</OPTION> <OPTION>2</OPTION> <OPTION>3</OPTION>
<OPTI
ON>4</OPTION> <OPTION>5</OPTION> <OPTION>6</OPTION></SELECT> <BR><INPUT
type=sub
mit value=Submit><INPUT id=reset_button type=reset value=Reset> </FORM>
<TD>
<TR bgColor=blue>
<TD><INPUT value=textfield name=g1> <BR><INPUT type=button value=button
name=g1>
<BR><INPUT type=checkbox value=1 name=g1> <BR><INPUT type=radio value=2
name=g1
<BR>
<TD>These objects all have the same name
<TR bgColor=lightblue>
<TD><INPUT id=g1 value=textfield_id> <BR><INPUT id=g1 type=button
value=button_i
d> <BR><INPUT id=g1 type=checkbox value=1_id> <BR><INPUT id=g1 type=radio
value=
2_id> <BR>
<TD>These objects all have the same id
<TR>
<TD>
<FORM name=buttonsubmit action=pass.html method=get>This form is has a
submit bu
tton that is an image <INPUT name=tt1> <INPUT type=image alt=submit
src="images/
button.jpg" name=imm> </FORM>
<FORM name=has_a_hidden>This is in a form. The form has hidden objects.
<BR>The
first has a name - hid1<INPUT type=hidden name=hid1> <BR>The second has an
id- h
idden_1<INPUT id=hidden_1 type=hidden> Click This Button to see the values
in th
ese boxes <INPUT onclick=javascript:showHidden(); type=button value="Show
Hidden
"> <BR><INPUT name=vis1> <BR><INPUT name=vis2>
</FORM></TR></TBODY></TABLE></BOD
Y>
.CVS Revision: "$Revision: 1.6 $"
ListItem1
ListItem2
1 2
1 2 3 4 5 6
These objects all have the same name
These objects all have the same id
This form is has a submit button that is an image
This is in a form. The form has hidden objects.
The first has a name - hid1
The second has an id- hidden_1 Click This Button to see the values in these
boxe
s
.There are 4 forms
Form name:
id:
method: get
action: pass.html
Form name: test2
id:
method: get
action: pass2.html
Form name: buttonsubmit
id:
method: get
action: pass.html
Form name: has_a_hidden
id:
method: get
action:
.......................F........................................................
...........F
Finished in 89.735 seconds.
1) Failure:
test_navigation(TC_Navigate) [E:/Program
Files/Watir/unittests/../unittests/navi
gate_test.rb:19]:
<"file://e:/program%20files/watir/unittests/html/buttons1.html"> expected
but wa
s
<"file://e:/program files/watir/unittests/html/buttons1.html">.
2) Failure:
test_showLinks(TC_showlinks)
[E:/Program Files/Watir/unittests/../unittests/links_test.rb:163:in
`test_sh
owLinks'
E:/Program Files/Watir/unittests/../unittests/links_test.rb:163:in
`each_wi
th_index'
E:/Program Files/Watir/unittests/../unittests/links_test.rb:163:in
`each'
E:/Program Files/Watir/unittests/../unittests/links_test.rb:163:in
`each_wi
th_index'
E:/Program Files/Watir/unittests/../unittests/links_test.rb:163:in
`test_sh
owLinks']:
<"1
file:///e:/program%20files/watir/unittests/html/
links2.html test1"> expected to be =~
</^1 + +file:\/\/\/e:\/program files\/watir\/unittests\/html\/links2.html
*test1
$/>.
154 tests, 930 assertions, 2 failures, 0 errors
E:\Program Files\Watir\unittests>
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
E:\Documents and Settings\Raghunath>cd\
E:\>cd set*
E:\Setup Files>gem install watir
E:\Setup Files>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" install watir
Attempting local installation of 'watir'
Successfully installed watir, version 1.5.1.1081
Installing RDoc documentation for watir-1.5.1.1081...
E:\Setup Files>cd\
E:\>cd pro*
E:\Program Files>cd wat*
E:\Program Files\Watir>dir
Volume in drive E has no label.
Volume Serial Number is C0BC-DD13
Directory of E:\Program Files\Watir
09/17/2006 11:07 AM <DIR> .
09/17/2006 11:07 AM <DIR> ..
09/16/2006 10:28 PM <DIR> doc
09/17/2006 12:07 PM <DIR> examples
09/16/2006 10:28 PM 58,470 Uninstall.exe
09/17/2006 11:08 AM <DIR> unittests
1 File(s) 58,470 bytes
5 Dir(s) 34,165,084,160 bytes free
E:\Program Files\Watir>cd unitt*
E:\Program Files\Watir\unittests>core_tests.rb
Loaded suite E:/Program Files/Watir/unittests/core_tests
Started
...........................................................-----------Objects
in
page -------------
id= src=
button name=b1 id=b2 value=Click Me
al
t= src=
id=
id= value=0
id= value=0
checkbox name=check1 id= value=10
al
t= src=
checkbox name=check1 id= value=20
al
t= src=
checkbox name=check1 id= value=30
al
t= src=
radio name=r1 id= value=a
al
t= src=
radio name=r1 id= value=b
al
t= src=
radio name=r1 id= value=c
al
t= src=
radio name=r1 id= value=d
al
t= src=
text name= id=t1 value=
al
t= src=
text name= id=t2 value=
al
t= src=
select-one name=s1 id= value=
select-multiple name=s2 id= value=
submit name= id= value=Submit
al
t= src=
reset name= id=reset_button value=Reset
al
t= src=
text name=g1 id= value=textfield
al
t= src=
button name=g1 id= value=button
al
t= src=
checkbox name=g1 id= value=1
al
t= src=
radio name=g1 id= value=2
al
t= src=
text name= id=g1 value=textfield_id
al
t= src=
button name= id=g1 value=button_id
al
t= src=
checkbox name= id=g1 value=1_id
al
t= src=
radio name= id=g1 value=2_id
al
t= src=
text name=tt1 id= value=
al
t= src=
image name=imm id= value=
al
t=submit
src=file:///E:/Program%20Files/Watir/unittests/html/images/but
ton.jpg
hidden name=hid1 id= value=
al
t= src=
hidden name= id=hidden_1 value=
al
t= src=
button name= id= value=Show Hidden
al
t= src=
text name=vis1 id= value=
al
t= src=
text name=vis2 id= value=
al
t= src=
.
<BODY>CVS Revision: "$Revision: 1.6 $" <BR><BR>
<TABLE>
<TBODY>
<TR>
<TD>
<FORM action=pass.html method=get><INPUT id=b2 type=button value="Click Me"
name
=b1> </FORM>
<TD>
<TR>
<TD>
<FORM name=test2 action=pass2.html method=get>
<UL>
<LI>ListItem1
<LI><SPAN>ListItem2</SPAN> </LI></UL><BR><INPUT type=checkbox value=10
name=chec
k1> <BR><INPUT type=checkbox value=20 name=check1> <BR><INPUT type=checkbox
valu
e=30 name=check1> <BR><INPUT type=radio value=a name=r1 selected> <BR><INPUT
typ
e=radio value=b name=r1> <BR><INPUT type=radio value=c name=r1> <BR><INPUT
type=
radio value=d name=r1> <BR><INPUT id=t1> <BR><INPUT id=t2> <BR><SELECT
name=s1>
<OPTION selected>1</OPTION> <OPTION>2</OPTION></SELECT> <BR><SELECT multiple
nam
e=s2 visible="3"> <OPTION>1</OPTION> <OPTION>2</OPTION> <OPTION>3</OPTION>
<OPTI
ON>4</OPTION> <OPTION>5</OPTION> <OPTION>6</OPTION></SELECT> <BR><INPUT
type=sub
mit value=Submit><INPUT id=reset_button type=reset value=Reset> </FORM>
<TD>
<TR bgColor=blue>
<TD><INPUT value=textfield name=g1> <BR><INPUT type=button value=button
name=g1>
<BR><INPUT type=checkbox value=1 name=g1> <BR><INPUT type=radio value=2
name=g1
<BR>
<TD>These objects all have the same name
<TR bgColor=lightblue>
<TD><INPUT id=g1 value=textfield_id> <BR><INPUT id=g1 type=button
value=button_i
d> <BR><INPUT id=g1 type=checkbox value=1_id> <BR><INPUT id=g1 type=radio
value=
2_id> <BR>
<TD>These objects all have the same id
<TR>
<TD>
<FORM name=buttonsubmit action=pass.html method=get>This form is has a
submit bu
tton that is an image <INPUT name=tt1> <INPUT type=image alt=submit
src="images/
button.jpg" name=imm> </FORM>
<FORM name=has_a_hidden>This is in a form. The form has hidden objects.
<BR>The
first has a name - hid1<INPUT type=hidden name=hid1> <BR>The second has an
id- h
idden_1<INPUT id=hidden_1 type=hidden> Click This Button to see the values
in th
ese boxes <INPUT onclick=javascript:showHidden(); type=button value="Show
Hidden
"> <BR><INPUT name=vis1> <BR><INPUT name=vis2>
</FORM></TR></TBODY></TABLE></BOD
Y>
.CVS Revision: "$Revision: 1.6 $"
ListItem1
ListItem2
1 2
1 2 3 4 5 6
These objects all have the same name
These objects all have the same id
This form is has a submit button that is an image
This is in a form. The form has hidden objects.
The first has a name - hid1
The second has an id- hidden_1 Click This Button to see the values in these
boxe
s
.There are 4 forms
Form name:
id:
method: get
action: pass.html
Form name: test2
id:
method: get
action: pass2.html
Form name: buttonsubmit
id:
method: get
action: pass.html
Form name: has_a_hidden
id:
method: get
action:
.......................F........................................................
...........F
Finished in 89.469 seconds.
1) Failure:
test_navigation(TC_Navigate) [E:/Program
Files/Watir/unittests/../unittests/navi
gate_test.rb:19]:
<"file://e:/program%20files/watir/unittests/html/buttons1.html"> expected
but wa
s
<"file://e:/program files/watir/unittests/html/buttons1.html">.
2) Failure:
test_showLinks(TC_showlinks)
[E:/Program Files/Watir/unittests/../unittests/links_test.rb:163:in
`test_sh
owLinks'
E:/Program Files/Watir/unittests/../unittests/links_test.rb:163:in
`each_wi
th_index'
E:/Program Files/Watir/unittests/../unittests/links_test.rb:163:in
`each'
E:/Program Files/Watir/unittests/../unittests/links_test.rb:163:in
`each_wi
th_index'
E:/Program Files/Watir/unittests/../unittests/links_test.rb:163:in
`test_sh
owLinks']:
<"1
file:///e:/program%20files/watir/unittests/html/
links2.html test1"> expected to be =~
</^1 + +file:\/\/\/e:\/program files\/watir\/unittests\/html\/links2.html
*test1
$/>.
154 tests, 930 assertions, 2 failures, 0 errors
E:\Program Files\Watir\unittests>
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general