I am investigating WATIR as a testing tool for a product that we are
developing for a client. At this stage I have my tests successfully opening
a browser, navigating to a page, entering text into the username and
password fields, clicking sign in and verifying that it is on the right
page. So
Runnin SafariWatir, OS X 10.5.6, Safari 4.0 (beta), and the latest
safariwatir (et al) gems.
This method:
Watir::Browser.default = 'safari'
b = Watir::Browser.new
b.goto http://my_site.com;
b.select_list(:id, state).options
returns:
NoMethodError: undefined method `options' for
Sorry, that doesn't work either. Same error message.
On Apr 27, 8:02 pm, George george.sand...@gmail.com wrote:
instead of options, try getAllContents
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General
Hi
My team recently upgraded to watir 1.6.2.
To drive our testing we read data from a file and build data sets for
each test case. One element of the data set is the browser we wish to
test against (i.e. IE or Firefox).
If the browser changes (e.g. from IE to Firefox) we close the IE
browser