Re: [wtr-general] Getting undefined method when trying to check a checkbox

2010-01-21 Thread Ċ½eljko Filipin
On Wed, Jan 20, 2010 at 9:50 PM, QAguy qablogm...@gmail.com wrote: browser.checkbox(:id, select_all_checkbox).set This should work but is giving me: undefined method `checkbox' for nil:NilClass To check does browser variable point to browser, you can use something like this: browser.url

Re: [wtr-general] Getting undefined method when trying to check a checkbox

2010-01-20 Thread Wesley Chen
The problem is on nil:NilClass It means the script can't find the browser you have defined. Thanks. Wesley Chen. For life, the easier, the better. On Thu, Jan 21, 2010 at 4:50 AM, QAguy qablogm...@gmail.com wrote: I'm using safariwatir. I am trying to set a checkbox using the following: