in reply to Re^2: To set values for a textbox in a Web application
in thread To set values for a textbox in a Web application

I think you have perhaps missed the point I tried to make, where in the documentation does it say you can use getTextBox in conjunction with getTable? Why didn't you simply modify my example to match your needs?:

$ie->getTextBox('name:', "txtUserName")->SetValue("user1");

Is there only one text box named txtUserName on the page? The documentation states "If there are more than one object having same value for the option you are quering, then it returns first object of the collection.".

As I mentioned previously, I have never used Win32::IEAutomation, I tend to use WWW::Mechanize (Win32::IE::Mechanize at a push) which has (IMHO) better methods for filling in forms.

Cheers,

Martin