Re: [Wtr-general] Need specific example of how to find a control inside a SPAN with a Custom Attribute.

2006-06-27 Thread Praveen Kumar Kammitta
Here's an example. Hope this helps.# sspan is the variable to which I assigned the Span object. The span object contains the text field.sspan = $ie.span(:id, 'guaranteedSpan') sspan.text_field(:index, 1).set('165000') # the text field name is dynamic, it changes all the time. So, I used index

[Wtr-general] Need specific example of how to find a control inside a SPAN with a Custom Attribute.

2006-06-26 Thread Michael Cowan
Watir General Group; I am relatively new to Watir and have run up against a problem I am unable to solve. I need to enumerate all the span tags on a page, find one with a custom attribute, and get access to the control inside that span tag. I have seen 1 reference to this issue

Re: [Wtr-general] Need specific example of how to find a control inside a SPAN with a Custom Attribute.

2006-06-26 Thread Lonny Eachus
Do mean you must 'iterate through' all the spans on the page? Or do you have a need to specifically enumerate them for later use? If you do not need to save information from each span for later, and even if there is not a direct 'Watir way' to do this, the indirect approach should still be

Re: [Wtr-general] Need specific example of how to find a control inside a SPAN with a Custom Attribute.

2006-06-26 Thread Bret Pettichord
On 6/26/06, Michael Cowan [EMAIL PROTECTED] wrote: What I want to do is hopefully fairly simple. Here is a snippet of HTML code from my page. I want to get the checkbox object that is wrapped inside the span tag with the Custom Attribute 1015. This is a dynamically created table, the