Interesting...

This is a dump question but do you have by any chance Offline Work selected? :)

Watir should never interfere with your main browser because it lunches an 
independent one as far as i know.


--- On Mon, 7/13/09, msazeez28july <sabdulkha...@gmail.com> wrote:

From: msazeez28july <sabdulkha...@gmail.com>
Subject: [wtr-general] Internet Explorer NOT working in normal after i ran the 
watir script
To: "Watir General" <watir-general@googlegroups.com>
Date: Monday, July 13, 2009, 8:14 AM


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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to