--- Begin Message ---Ok, I'm stumped -- I'm sure this is covered somewhere but I can't seem to figure out how to install from the current development tarball. Can you point me in the right direction? I downloaded the tarball, and I unzipped it into C:\ as mentioned in the User Guide -- is this where I want it, or should I be unzipping it into my existing watir directory (c:\Program Files\watir)? If I make a new working directory -- how do I ensure that ruby is getting the classes from the right one? And in the message board I found a post talking about needing to run install.rb -- is this necessary? I couldn't find INPUT_TYPES in any of the new files or my existing files either -- not sure if that's expected. Looking at the statement you sent it looked like I was adding a value to a constant array or something (not entirely sure if that's correct, but that was my best guess), but I couldn't find INPUT_TYPES referenced in any of the files -- am I missing something? BTW -- I'm sure you're right about the HTML, we've looked at some newer pages and it doesn't seem like they're adding that attribute any longer -- I'm going to have a discussion with the developers to see if cleaning it up is an option. Bill-----Original Message----- From: [EMAIL PROTECTED] on behalf of Bret Pettichord Sent: Mon 2/13/2006 6:15 PM To: [email protected] Cc: Subject: Re: [Wtr-general] Select List Question Bill, Thank you for your clear report. This sounds like a new problem to me. Using the current development tarball version, could you please include the line below right after you require 'watir'. require 'watir' Watir::SelectList::INPUT_TYPES << "select" I think there is a good chance this will correct your problem. But i also think your programmers are creating odd html. I can find no references to TYPE="SELECT" being correct. Bret On 2/10/06, Attebery, Bill <[EMAIL PROTECTED]> wrote: In our in house webpage we found that some of the select lists use a attribute TYPE="SELECT" when we tried to get a handle on these SELECT_LIST objects watir failed with the cannot find object error. We did some investigating and removed this attribute from the html, and watir then found the object with no problems. So my question is, is this a bug or a known issue and if so are there any workarounds or code updates that will resolve it? If you need more info please let me know. Here's the HTML snippet with the offending attribute in red. <tr> <td class="label"> <DIV CLASS="required" pii="null" name="po_order_header.order_source.label" id="po_order_header.order_source.label" title="Order Source">Order Source</DIV> </td><td class="field"><select pii="null" id="po_order_header.order_source" TYPE="SELECT" Name="po_order_header.order_source" tabindex="15" onchange="formModified();orderSourceChanged()" onblur="validate()" required="true"><OPTION VALUE="" title=""></OPTION><OPTION VALUE="AuthRep" title="">Authorized Representative</OPTION><OPTION VALUE="CapAnalyst" title="">Capacity Analyst</OPTION><OPTION VALUE="City" title="">City</OPTION><OPTION VALUE="Collection" title="">Collections</OPTION></select> </td> </tr> Thanks, Bill The content contained in this electronic message is not intended to constitute formation of a contract binding TWTC. TWTC will be contractually bound only upon execution, by an authorized officer, of a contract including agreed terms and conditions or by express application of its tariffs. This message is intended only for the use of the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the sender of this E-Mail or by telephone. _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general<<winmail.dat>>
--- End Message ---
The content contained in this electronic message is not intended to constitute formation of a contract binding TWTC. TWTC will be contractually bound only upon execution, by an authorized officer, of a contract including agreed terms and conditions or by express application of its tariffs. This message is intended only for the use of the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the sender of this E-Mail or by telephone.
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
