I ran the very basic script given in the example on command prompt as given below. It worked well when i execute this script. However i could not access any site afterwards. I am not able to launch google.com as well. The progressbar on bottom shows as loading but nothing gets loaded. I have tried restarting machine but of no use. Please help on this issue.
Syed require "watir" # set a variable test_site = "http://www.google.com" # open a browser browser = Watir::Browser.new # print some comments puts "Beginning of test: Google search." puts " Step 1: go to the test site: " + test_site browser.goto test_site puts " Step 2: enter 'pickaxe' in the search text field." browser.text_field(:name, "q").set "pickaxe" # "q" is the name of the search field puts " Step 3: click the 'Google Search' button." browser.button(:name, "btnG").click # "btnG" is the name of the Search button --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
