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 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 browser.text Željko

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 wrote: > I'm using safariwatir. I am trying to set a checkbox using the > following: > > browser.checkbox(

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

2010-01-20 Thread QAguy
I'm using safariwatir. I am trying to set a checkbox using the following: browser.checkbox(:id, "select_all_checkbox").set This should work but is giving me: undefined method `checkbox' for nil:NilClass Code this should work against is: Can someone provide some insight? Thanks in advance. QA