[wtr-general] Command executed within a test script behaves differently to when the same command is executed in irb

2014-09-03 Thread David Karl
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

[wtr-general] select_list().options valid?

2009-04-27 Thread Karl
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

[wtr-general] Re: select_list().options valid?

2009-04-27 Thread Karl
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

[wtr-general] watir 1.6.2 - Watir::Browser.new

2008-11-19 Thread Karl
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