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]