I do not understand what do you want to do.
 
You can enter 'watir rules' in textbox like this
 
ie.textField(:id, 'textField_id').set('watir rules')
 
and select 'watir rules'
 
ie.selectBox(:id, 'selectBox_id').select('watir rules')
More information on http://wtr.rubyforge.org/watir_user_guide.html (and even more on http://wtr.rubyforge.org/)
 
Zeljko
 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of pj jha
Sent: Wednesday, November 16, 2005 12:17 PM
To: [email protected]
Subject: [Wtr-general] Problem in WATiR

hi,

i am little bit confused, my confusion is as follow,

Suppose i want write the code for any control like textbox, drop down box etc in watir. I want to pass the field name associated with that control and  the  value  which  i  have to entered(in case of textbox) or select(in case of dropdown box).

please send any sample code for above requirement.

thanks and regards,
--Prashant


Enjoy this Diwali with Y! India Click here
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to