How to tick checkboxes with the same name?

malayrev at gmail.com malayrev at gmail.com
Thu Jul 25 11:42:19 EDT 2013


вторник, 23 июля 2013 г., 9:05:14 UTC+4 пользователь Joel Goldstick написал:
> On Tue, Jul 23, 2013 at 12:10 AM,  <malayrev at gmail.com> wrote:
> 
> > I faced a problem: to implement appropriate search program I need to tick few checkboxes which turned out to have the same name (name="a", id="a1","a2","a3","a4"). Set_input('a', True) does not work (I use Grab library), this command leads to the error "checkboxgroup must be set to a sequence". I don't understand what the sequence actually is, so I'm stuck with how to tick the checkboxes. It would be really great if someone would help me with how to handle this question. The code is available here:
> 
> > view-source:http://zakupki.gov.ru/pgz/public/action/contracts/search/ext/enter
> 
> > --
> 
> > http://mail.python.org/mailman/listinfo/python-list
> 
> 
> 
> Have you tried a[0], a[1], etc. for the names?
> 
> 
> 
> --
> 
> Joel Goldstick
> 
> http://joelgoldstick.com

sure, I tried, doesn't work



More information about the Python-list mailing list