saran_techie has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks,
I've a set of code for selecting the values in the combobox. It's working fine with IEAutomation module, but problem occurred when tried with IEMechanize module. While executing the following peice of code, I got an error message "Select 'colour' not found. at D:\AUTOMA~1\Perl\Practice\IEMECH~2.PL line 5".
use Win32::IE::Mechanize; $ie=Win32::IE::Mechanize->new(visible=>1); $ie->get('http://help.joomla.org/content/view/500/60/'); #Get select list (single, multiple) selection box/drop down box/list b +ox $ie->select("colour", "2" );


Likewise, how to get select the radio buttons?
Thank you,
Saravanan.S

Replies are listed 'Best First'.
Re: Sample code for selecting the values in combobox, radio button
by Anonymous Monk on Mar 03, 2009 at 07:47 UTC
    That is because colour is not part of any form on that url.

    Likewise, how to get select the radio buttons?
    Search the documentation for "radio", it shows you how.

Re: Sample code for selecting the values in combobox, radio button
by Sinistral (Monsignor) on Mar 03, 2009 at 14:59 UTC