Oh, I get it.  I should have said /yet another/ bug.  :)

---Michael B. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cain, Mark
Sent: October 23, 2006 12:48 PM
To: [email protected]
Subject: Re: [Wtr-general] Question from a newbie

Excuse me but aren't we talking about IE here?  Isn't MS notorious for
spec violations? 
Here are just a few for your reading pleasure:
http://channel9.msdn.com/wiki/default.aspx/Channel9.InternetExplorerStan
dardsSupport

And there is the whole backward compatibility thing too...

BTW, I agree with you!  I wish IE was stricter with the spec.  It would
make all of our automation activities much easier.

I'm just saying... :-)

--Mark


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Bolton
Sent: Monday, October 23, 2006 8:00 AM
To: [email protected]
Subject: Re: [Wtr-general] Question from a newbie

Do I misread the HTML 4.01 spec
(http://www.w3.org/TR/html401/index/attributes.html)?  It says that ID
is a
"document-wide unique ID".  The whole point of the ID tag is to have a
unique ID, is it not?  Doesn't having a non-unique ID defeat the purpose
of
having an ID altogether?

I agree that the "name" attribute is apparently not subject to the same
restriction, though.

---Michael B.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cain, Mark
Sent: October 23, 2006 10:20 AM
To: [email protected]
Subject: Re: [Wtr-general] Question from a newbie

---Michael B. wrote:

>>Congratulations:  you've found a bug.  There should not be two text
fields
>>with the same ID and the same name on the same page.  

It is not a bug because internally index is used to make all page
objects unique. It may be poor design and/or lazy programming--I'll give
you that! ;-P

--Mark


Ask the developers to
fix the bug.  If you get pushback, tell them (or the project manager)
that
the page as current constructed interferes with testability.  If you get
pushback, then use (:index, [some number]) to locate the appropriate
element.



_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to