[wtr-general] Re: Read value from a field

2009-03-10 Thread Tiffany Fodor
Have you tried this? my_text = ie.form(:name, 'my_form').value If that doesn't work, you might want to verify the field is actually a form and not a text_field. Hope this helps! -Tiffany On Mar 10, 7:44 am, maximore hri...@gmail.com wrote:  I am looking for a way to read back  from  a  form

[wtr-general] Re: Read value from a field

2009-03-10 Thread maximore
field is text, should the Ie.text_field() do the trick ? On Mar 10, 11:16 am, Tiffany Fodor tcfo...@comcast.net wrote: Have you tried this? my_text = ie.form(:name, 'my_form').value If that doesn't work, you might want to verify the field is actually a form and not a text_field.

[wtr-general] Re: Read value from a field

2009-03-10 Thread maximore
yes thanks let give it a try On Mar 10, 1:29 pm, Tiffany Fodor tcfo...@comcast.net wrote: If you're trying to get the value from a text field: my_text = ie.text_field(:name, 'text field name').value -Tiffany On Mar 10, 12:22 pm, maximore hri...@gmail.com wrote:    field is text,

[wtr-general] Re: Read value from a field

2009-03-10 Thread SQAPro
pretty sure that's what I just told him in another thread here a few hours ago.. On Mar 10, 11:29 am, Tiffany Fodor tcfo...@comcast.net wrote: If you're trying to get the value from a text field: my_text = ie.text_field(:name, 'text field name').value -Tiffany On Mar 10, 12:22 pm,

[wtr-general] Re: Read value from a field

2009-03-10 Thread maximore
Thanks but it is not working although the program run and executed without any error message , The value read is not pass to the result. at this point I am not sure if the methods work or not. I am relative new to ruby On Mar 10, 1:46 pm, sqa...@gmail.com wrote: pretty sure that's what I

[wtr-general] Re: Read value from a field

2009-03-10 Thread SQAPro
Did you correct the typo and syntax error I noted in the other thread? What exact error are you getting What exact code are you trying to use? See my comments in the other thread about usng interactive ruby to troubleshoot stuff like this Have you worked through the watir tutorial? it has