To get current value you can use


Text_value = $ie.text_field(:id=>"id name",:index=>index).value






[] On Behalf Of Durgesh Nadkarni
Sent: Friday, April 17, 2009 7:57 AM
Subject: [wtr-general] How to get the values of the text box?



I want to know how can we get the values of any text box in WATIR.

We can use textboxname.set to enter the value in the text box.

So is there any way by which we can get the dynamically generated values
in the textbox & stored it in some variable.

Thanks & Regards

You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to
Before posting, please read the following guidelines:
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to