[wtr-general] Re: Problem with Checkbox

2009-10-22 Thread Amit Kulkarni
Any suggestions on the above issue? Please help On Wed, Oct 21, 2009 at 5:49 PM, Amit Kulkarni wrote: > No,it does not flash up anything. > It also does not display any error and goes to next step > > > On Wed, Oct 21, 2009 at 5:39 PM, Željko Filipin < > zeljko.fili...@wa-research.ch> wrote: > >>

[wtr-general] Re: Problem with Checkbox

2009-10-21 Thread Amit Kulkarni
No,it does not flash up anything. It also does not display any error and goes to next step On Wed, Oct 21, 2009 at 5:39 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > Does this flash what you want? > > Browser.span(:text, "Ratingsanity1").flash > > Željko > > > > > --~--~-~

[wtr-general] Re: Problem with Checkbox

2009-10-21 Thread Željko Filipin
Does this flash what you want? Browser.span(:text, "Ratingsanity1").flash Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups

[wtr-general] Re: Problem with Checkbox

2009-10-21 Thread Amit Kulkarni
I tried using command $Browser.checkbox(:id, /rating\[\d+\]/).set but i got error which is as follows: You have nil object when you didn't expect it! The error occurred while evaluating nil.checkbox (NoMethodError) ./step_definitions/update_feature_steps.rb:23:in `/^i click on the crea

[wtr-general] Re: Problem with Checkbox

2009-10-21 Thread Željko Filipin
On Wed, Oct 21, 2009 at 1:02 PM, Amit Kulkarni wrote: > I tried following code but still no success. > 1: Browser.checkbox(:after?, Browser.cell(:text, "Ratingsanity1")).click And what is the error message, if any? Does this flash what you want? Browser.cell(:text, "Ratingsanity1").flash Does

[wtr-general] Re: Problem with Checkbox

2009-10-21 Thread Wesley Chen
You can use $ie.checkbox(:id, /rating\[\d+\]/) Thanks. Wesley Chen. For life, the easier, the better. On Wed, Oct 21, 2009 at 7:02 PM, Amit Kulkarni wrote: > Hello, > I have this html script. > > > > Ratingsanity1 > > > > > The scenario is i want to click on the checkbox which has title >