RE: Checking a checkbox using the value
"Peter Marklund" <peter-ZGY8ohtN/[email protected]> Wed, 28 Jan 2004 12:09:06 +0100
| Newsgroups | gmane.comp.web.tclwebtest |
|---|---|
| Message-ID | <[email protected]> |
Hey Michael! For automatic build of OpenACS and .LRN you should use the install scripts that we have put quite a lot of work into. If you use them I'm sure we'd get some valuable feedback so that we can improve them further. Obtain the scripts like this: cvs -d :pserver:[email protected]:/cvsroot checkout openacs-4/etc/install There is a document that says a little about how to use the scripts here: http://openacs.org/doc/openacs-HEAD/openacs.html Good luck! Peter On Wed, 28 Jan 2004 10:28:14 -0000, "Michael Hinds" <[email protected]> said: > Thanks, Peter. I can get it to work using field find, field check, field > find -next, etc. but because all the checkboxes have the same name, I'm > relying on them being displayed in a particular order. > > Since I know you have expertise in the area I can go into a bit more > detail > ;) I'm automating a build of an OpenACS system, and the page in question > is > the one in the APM where you select which packages to install. I could > write > my own scripts to do this but I think it's cleaner to have the test > harness > completely external. > > Out of interest, how are you guys doing the rebuild of dotLRN every > night? > > > -----Original Message----- > > From: Peter Marklund [mailto:peter-ZGY8ohtN/[email protected]] > > Sent: 27 January 2004 19:12 > > To: Michael Hinds; tclwebtest-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > > Subject: Re: [tclwebtest] Checking a checkbox using the value > > > > > > Hey Michael! > > I'm not 100% sure you can use this for checkboxes, but I > > think you can. > > Here it is: > > > > field select2 ~v value > > > > Look at the file > > > > http://cvs.openacs.org/cvs/openacs-4/contrib/packages/simulati > > on/test/simulation-test-procs.tcl?view=auto&rev=1.13 > > > > for examples of this. > > > > Peter > > > > On Tue, 27 Jan 2004 18:55:51 -0000, "Michael Hinds" > > <[email protected]> said: > > > I'm trying to select a checkbox using its value. The HTML > > is something > > > like > > > this: > > > > > > <input type=checkbox name=enable value="some-identifier-here"> > > > <input type=checkbox name=enable value="something-else-here"> > > > <input type=checkbox name=enable value="and-another"> > > > > > > I thought I could use: > > > > > > field check ~v general-comments > > > > > > but it throws the field not found exception. The following > > works, but > > > isn't > > > very useful to me: > > > > > > field check ~n enable > > > > > > If anyone knows what I'm doing wrong off the top of their head, I'd > > > appreciate the help. > > > > > > Thanks, > > > > > > Michael > > > > > > > > > > > > > > > ------------------------------------------------------- > > > The SF.Net email is sponsored by EclipseCon 2004 > > > Premiere Conference on Open Tools Development and Integration > > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > > http://www.eclipsecon.org/osdn > > > _______________________________________________ > > > Tclwebtest-general mailing list > > > Tclwebtest-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > > > https://lists.sourceforge.net/lists/listinfo/tclwebtest-general > > Collaboraid > > - Open Source Web Collaboration Software > > http://www.collaboraid.biz > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Tclwebtest-general mailing list > Tclwebtest-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/tclwebtest-general Collaboraid - Open Source Web Collaboration Software http://www.collaboraid.biz ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn