[Webtest] Re: Someone really attribute value of setcheckbox?

Lisa Crispin webtest@lists.canoo.com
Mon, 12 Jul 2004 15:47:33 +0000


Oh, well, duh, that makes sense.  
thanks,
Lisa


-------------- Original message from Marc Guillemot : -------------- 
> But you have only one checkbox named "check38341". Right? In this case you just 
> want to check this checkbox and you 
> don't need to specify the value. 
> 
> Marc. 
> 
> Lisa Crispin wrote: 
> > Hi Marc, 
> > Here's what the code looks like: 
> > input name="check38341" type="checkbox" class="control" value="38341"> 
> > 
> > The check number is generated sequentially for each new check, so both the 
> checkbox name and value will be different each time I run the tests that use 
> this type of page. 
> > thanks, 
> > Lisa 
> > 
> > -------------- Original message from Marc Guillemot : -------------- 
> > 
> >>Hi Lisa, 
> >> 
> >> 
> >>>One thing we use it for is to select a box that is going to be a different 
> >> 
> >>value every time, so I have to use storeregex to get the value: 
> >> 
> >>>>>name="check#{checkNbr}" 
> >>> 
> >>>value="#{checkNbr}" /> 
> >> 
> >>what is the original html code for the checkbox? Has the checkbox already 
> >>"#{checkNbr}" as value? 
> >> 
> >> 
> >>>We also have radio buttons with the same name and different values, I don't 
> >> 
> >>know how else to select: 
> >> 
> >>>>name="forgotW 
> >>> 
> >>>hatSelection" checked="true" value="2"/> 
> >> 
> >>in a radio button group the value distinguished one radio button from one 
> other 
> >>therefore is the value needed. I will 
> >>add a dedicated setradiobutton task. 
> >> 
> >>Marc. 
> >> 
> >>_______________________________________________ 
> >>WebTest mailing list 
> >>WebTest@lists.canoo.com 
> >>http://lists.canoo.com/mailman/listinfo/webtest 
> > 
> > _______________________________________________ 
> > WebTest mailing list 
> > WebTest@lists.canoo.com 
> > http://lists.canoo.com/mailman/listinfo/webtest 
> > 
> 
> _______________________________________________ 
> WebTest mailing list 
> WebTest@lists.canoo.com 
> http://lists.canoo.com/mailman/listinfo/webtest