Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

How to get javascript to exectue when clicking a button in IEAutomation?

by rizzy (Sexton)
on May 18, 2012 at 17:17 UTC ( [id://971342]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        use Win32::IEAutomation;
        my $ie = Win32::IEAutomation->new( visible => 1);
        $ie->gotoURL('https://www.mywebpage.com/index.html',1);
        
        $ie->getTextBox('id:', "mytextbox")->SetValue("relevant text");
        $ie->getButton('id:', "mybutton")->Click;
    
  2. or download this
        <input type="text" id="mytextbox" />
        <button id="mybutton" title="Go" class="ControlButton" value="Go" 
    +onclick="researchLookupObj.GoClick(CallServer);return false;">Search<
    +/button>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://971342]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-04-26 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found