See reponse in this thread  
http://groups.google.com/group/watir-general/browse_thread/thread/788c6b6817b95d1f

possibly you need a sleep statement before trying to set the textfield
text.

On Jun 22, 5:07 am, Betsy <joybe...@gmail.com> wrote:
> The issue was somehow with the site.. Google never gets loaded
> completely on ie on that particular system.
>
> On Jun 22, 9:19 am, Betsy <joybe...@gmail.com> wrote:
>
>
>
> > Can anyone please shed some light on how to get this issue resolved??
>
> > Thanks in advance,
> > Betsy Joy
>
> > On Jun 21, 6:08 pm, Zubair <zubair.rk...@gmail.com> wrote:
>
> > > hi,
>
> > > in msconfig Remote pocidure call(RPC) is running
> > > but but there is another service Remote pocidure call Locator that is
> > > stoped.iIs it also needed to be in running state?
>
> > > On Jun 21, 5:38 pm, Felipe Knorr Kuhn <fkn...@gmail.com> wrote:
>
> > > > Hello,
>
> > > > If you are using WinXP, click on Start -> Run and launch msconfig.exe
>
> > > > Click on Services, find the Remote Procedure Call item and try to start 
> > > > it.
>
> > > > FK
>
> > > > On Mon, Jun 21, 2010 at 9:31 AM, Betsy <joybe...@gmail.com> wrote:
> > > > > Hi,
> > > > > I have written an script like:-
> > > > > 1)Open Webbrowser
> > > > > 2)Open Google.com
> > > > > 3)Now setText on the textBox then
> > > > > 4)Click on the Button.
>
> > > > >     my problem is that Text is not being set into the TextBox, and
> > > > > if i am runnig this Script on the other system, it is working
> > > > > properly.
> > > > >    I have reinstall Ruby many times but problem still persist.
> > > > > my Script is:
> > > > > ----------------------------
> > > > > require "watir"
> > > > > url="www.google.co.in"
> > > > > ie=Watir::IE.new
> > > > > ie.bring_to_front
> > > > > ie.maximize
> > > > > ie.goto url
> > > > > t=ie.text_field(:name,"q")
> > > > > t.set("Delhi")
> > > > > b=ie.button(:name,"btnG")
> > > > > b.click
> > > > > sleep(2)
> > > > > ie.close
> > > > > ----------------------------------
>
> > > > > I also copied the whole Rubi folder from other system to my
> > > > > system .But problem still persist.
> > > > > and when i executed "gem install watir" then command prompt hangs out.
>
> > > > > Error msg:
> > > > > ====================================
> > > > >>ruby google.rb
> > > > > c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/ie-class.rb:
> > > > > 460:in `method_missing': unknown property or method
> > > > > `document' (WIN32OLERuntimeError)
> > > > >    HRESULT error code:0x800706ba
> > > > >      The RPC server is unavailable.    from c:/ruby/lib/ruby/gems/1.8/
> > > > > gems/watir-1.6.5/lib/watir/ie-class.rb:460:in `document'
> > > > >        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/
> > > > > container.rb:800:in `locate_input_element'
> > > > >        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/
> > > > > input_elements.rb:5:in `locate'
> > > > >        from 
> > > > > c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
> > > > > 53:in `assert_exists'
> > > > >        from 
> > > > > c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
> > > > > 288:in `enabled?'
> > > > >        from 
> > > > > c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:
> > > > > 60:in `assert_enabled'
> > > > >        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/
> > > > > input_elements.rb:327:in `set'
> > > > >        from google.rb:8
> > > > >>Exit code: 1
> > > > > =================================
>
> > > > > --
> > > > > Before posting, please readhttp://watir.com/support. In short: search 
> > > > > before you ask, be nice.
>
> > > > > You received this message because you are subscribed 
> > > > > tohttp://groups.google.com/group/watir-general
> > > > > To post: watir-general@googlegroups.com
> > > > > To unsubscribe: watir-general+unsubscr...@googlegroups.com- Hide 
> > > > > quoted text -
>
> - Show quoted text -

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

Reply via email to