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

I am using Win32::IEAutomation module.Uisng the getProperty method I am bale to select the current value set in the combo.

But I wanted to retrieve list of values of combo box.

use Win32::IEAutomation; $IE=Win32::IEAutomation->new(visible=>1, maximize=>1); $IE->gotoURL('http://www.irctc.co.in'); $IE->getTextBox('name:','userName')->SetValue('sid123'); $IE->getTextBox('name:','password')->SetValue('sid*123'); $IE->getButton('name:','submit')->Click(); $IE->WaitforDone; $month=$IE->getSelectList('name:','month')->getProperty('value'); print "$month"

Replies are listed 'Best First'.
Re: To get all items of combo box
by Anonymous Monk on Apr 18, 2009 at 11:03 UTC
      How to use the OLE interface in perl? Kindly let me know the details.