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 you do things very much like this. Consider getting yourself a copy of "Everyday Scripting with ruby", it's available as an e-book, you can have it on your PC in a matter of minutes --Chuck You can invoke: tester.leadto(knowledge.location) but unfortunately: tester.drink() is a private method On Mar 10, 12:19 pm, maximore <hri...@gmail.com> wrote: > 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 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, maximore <hri...@gmail.com> wrote: > > > > > 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. > > > > > > 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 field? any idea > > > > > > will be appreciated- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---