Hi
Please note that this is an example of what tests.
Class TestGoogle < Test::Unit::TestCase
def test_start()
$b=Watir::Browser.start("https://www.google.com")
end
def test_entertext()
$b.text_field(:name, "SearchField").set("Search")
$b.button(:name, "btnG").click
end
def test_verify()
if $b.contains_text("Search")
puts "passed"
else
puts "failed"
end
end
end
In my options.yml if I tell it to run with IE then in command prompt I
get the error $b is not defined.
--
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