[wtr-general] Re: getProperty

2009-03-23 Thread Kiran Darekar
Use IE Developers toolbar to get object properties. Regards, Kiran NOTICE: This email message, including any attachments, may contain information that is confidential and/or proprietary. If you are not an intended recipient, please be advised that any

[wtr-general] Re: getProperty

2009-03-23 Thread Željko Filipin
On Mon, Mar 23, 2009 at 11:19, Vikas Tulashyam vtulash...@gmail.com wrote: I want to get the Properties of any object in Watir. Can you give an example of what you need? Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[wtr-general] Re: getProperty

2009-03-23 Thread Vikas Tulashyam
Hi, I want to get a property of an object like -- ie.link(:id, 'a1').getProperty('InnerHTML') Here, I want to implement getProperty function. So I can get any property of that particular object (Here, I am getting the object as- ie.link(:id, 'a1')). I want to get other properties of this

[wtr-general] Re: getProperty

2009-03-23 Thread Željko Filipin
On Mon, Mar 23, 2009 at 12:14, Vikas Tulashyam vtulash...@gmail.com wrote: ie.link(:id, 'a1').getProperty('InnerHTML') Try this: ie.text_field(:index, 1).attribute_value(custom_attribute) = so cool I blogged about it:

[wtr-general] Re: getProperty

2009-03-23 Thread Vikas Tulashyam
Hey Thank you very much :) On Mar 23, 4:17 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Mar 23, 2009 at 12:14, Vikas Tulashyam vtulash...@gmail.com wrote:  ie.link(:id, 'a1').getProperty('InnerHTML') Try this: ie.text_field(:index, 1).attribute_value(custom_attribute)