To get current value you can use

 

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

 

 

 

 

________________________________

From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Durgesh Nadkarni
Sent: Friday, April 17, 2009 7:57 AM
To: watir-general@googlegroups.com
Subject: [wtr-general] How to get the values of the text box?

 

Hi,

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
Durgesh.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to