Win32-IE-Mechanize - Re: Examples?

Posted on Wed Aug 10 00:24:16 2005 by volksman in response to 857 (See the whole thread of 7)
Re: Examples?
Hey Abe! I'm trying for the life of me why the form I can reference by name can't be filled out. I've tried to fill out the form with:
$ie->set_fields( dsn => 'dsn', database => 'database', user => 'user'); or $ie->set_visible( 'dsn', 'database', 'user');
But it dies on the last one....If I remove 'user' from being set the form fills in nicely. With it though it generates an error regarding:
Win32::OLE(0.1403) error 0x80070005: "Access is denied" in METHOD/PROPERTYGET "all" at C:/Perl/site/lib/Win32/IE/Form.pm line 150 Can't call method "tagName" on an undefined value at C:/Perl/site/lib/Win32/IE/F orm.pm line 150.
So I'm wondering if there is a way to spit out what the module sees as input field names so I can see if the script just isn't getting the right info or if it's HTML issues on the page or something...I'm grasping at straws at this point.... Any help would be appreciated.
Direct Responses: 866 | Write a response