Your script runs well on other system, so it is not script problem;
Would you try clear your browser session and cookies and try again?
What's error message when you run the script?

Wesley.
For life, the easier, the better.


On Mon, Jun 21, 2010 at 7:52 PM, Zubair <[email protected]> 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
> ----------------------------------
> Please tell me the Proper solution
>
> --
> 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: [email protected]
> To unsubscribe: 
> [email protected]<watir-general%[email protected]>
>

-- 
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: [email protected]
To unsubscribe: [email protected]

Reply via email to