Posted on 2008-03-17 11:27:18-07 by zaxxon
Error - Can't call method
I have the following code:
$ie->getButton('value:', 'Sumbit')->Click;

for the following HTML tag
<input type="submit" name="Submit" value="Submit" />


I have tried ('name:', 'Submit'). but that still gets me the same error of "Can't call method "Click" on an undefined value at PressSubmit.pl line 26."
I am unsure how to resolve this.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.