i've written following code require 'watir' Watir::Browser.default = "firefox" url="http://turagv2:8080/lotry/Login.do" name="admin" password="admin" $b = Watir::Browser.start(url) $b.text_field(:name, "username").set(name) puts 'test1' $b.text_field(:name, "password").set(password) puts 'test2' #$b.button(:value, "Sign in").click test=$b.form(:action, "/lotry/LoginSubmit.do").submit puts 'test3'
it works well but ruby.exe not exit. [it works fine with IE] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---