Hi Hrishij,
 
Hope this piece of code of helps you in using watir simple in code.
 
require "watir"
require "watir/watir_simple"
include Watir
include Watir::Simple
 simple1 = Simple
 simple1.new_browser_at("http://www.google.com/")
 simple1.enter_text_into_field_with_name("q","WATIR")
 simple1.click_button_with_caption("Google Search")
 
Regards,
Jamuna Nithyanandam


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hrishikesh Jamadagni
Sent: Wednesday, December 21, 2005 10:24 AM
To: [email protected]
Subject: [Wtr-general] watir simple

 Does anybody know how to use watir simple in the code? Do we have to include any thing at the start?

 

Regards

Hrishij

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to