Agree,pls share the html code or attach the web site. On Wed, Jun 23, 2010 at 3:43 PM, Charley Baker <charley.ba...@gmail.com>wrote:
> I can't really tell without seeing your site, but if you do search for that > error, you'll find it a few times: > http://www.mail-archive.com/wtr-gene...@rubyforge.org/msg07505.html, > that's one. Can you send some html? > > > Charley Baker > Lead Developer, Watir, http://watir.com > > > On Tue, Jun 22, 2010 at 11:33 PM, naresh <nareshvatsa...@gmail.com> wrote: > >> i have pasted my code below , i am getting exception. >> >> require 'watir' >> require 'oci8' >> require 'dbi' >> ie = Watir::IE.new >> ie.goto("http://localhost:3333/venus") >> #ie.bring_to_front; >> #ie.maximize; >> ie.text_field(:id, "login:username").set("admin"); >> ie.text_field(:id, "login:password").set("admin"); >> ie.button(:name, "login:loginButton").click; >> ie.link(:id,"globalForm:customfieldCategoriesLink").click; >> puts 'Customfields Categories link clicked' >> ie.goto("http://localhost:3333/venus/admin/customfield- >> categories.seam") >> ie.button(:id, "globalForm:cfCatagCreateButton").click; >> puts 'Customfields Categories New button clicked' >> ie.goto("http://localhost:3333/venus/admin/customfield-category.seam") >> ie.text_field(:id, "globalForm:categoryName").set('naresh'); >> ie.text_field(:id, "globalForm:description").set('ss'); >> puts ie.text_field(:id, "globalForm:categoryName").value >> puts ie.text_field(:id, "globalForm:description").value >> >> >> Exception >> >> >> D:\Watir>RUBY Venus-Admin-Insert.rb >> Customfields Categories link clicked >> Customfields Categories New button clicked >> (eval):3:in `invoke': unknown property or method >> `readOnly' (WIN32OLERuntimeErro >> r) >> HRESULT error code:0x80020006 >> Unknown name. from (eval):3:in `readonly?' >> from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/ >> input_elements >> .rb:240:in `assert_not_readonly' >> from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/ >> input_elements >> .rb:328:in `set' >> from Venus-Admin-Insert.rb:17 >> >> >> >> On Jun 23, 10:07 am, Charley Baker <charley.ba...@gmail.com> wrote: >> > require 'watir' >> > >> > browser = Watir::Browser.new >> > browser.goto('http://www.google.com') >> > browser.text_field(:name, 'q').set('foo') >> > puts browser.text_field(:name, 'q').value >> > => foo >> > >> > Charley Baker >> > Lead Developer, Watir,http://watir.com >> > >> > On Tue, Jun 22, 2010 at 9:45 PM, naresh <nareshvatsa...@gmail.com> >> wrote: >> > > Hi All, >> > >> > > i want retrieve value "naresh" after setting through set method of >> > > textField. >> > > is it possible or not?. I searched lot in Google, but no suitable >> > > example available. >> > > Can anyone guide me. >> > >> > > ie.textField(:id, "login-form:user-name").set("naresh"); >> > >> > > Regards, >> > > Naresh >> > >> > > -- >> > > Before posting, please readhttp://watir.com/support. In short: search >> > > before you ask, be nice. >> > >> > > You received this message because you are subscribed to >> > >http://groups.google.com/group/watir-general >> > > To post: watir-general@googlegroups.com >> > > To unsubscribe: >> > > watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com> >> <watir-general%2bunsubscr...@googlegroups.com<watir-general%252bunsubscr...@googlegroups.com> >> > >> >> -- >> Before posting, please read http://watir.com/support. In short: search >> before you ask, be nice. >> >> You received this message because you are subscribed to >> http://groups.google.com/group/watir-general >> To post: watir-general@googlegroups.com >> To unsubscribe: >> watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com> >> > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > You received this message because you are subscribed to > http://groups.google.com/group/watir-general > To post: watir-general@googlegroups.com > To unsubscribe: > watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com> > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com