Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Click on a cell of HTML table

by mld (Acolyte)
on Aug 13, 2009 at 13:43 UTC ( #788294=perlquestion: print w/ replies, xml ) Need Help??
mld has asked for the wisdom of the Perl Monks concerning the following question:

How to perform an onClick event in a "HTML TABLE CELL" using PERL.

Using Win32::IEAutomation I have accessed the particular cell of the table.using $IE->getTable('id:','xxxx')->tablecells(3,1)

Comment on Click on a cell of HTML table
Re: Click on a cell of HTML table
by thunders (Priest) on Aug 13, 2009 at 14:42 UTC

    I don't know the answer to that, the documentation for that module makes it sound like only objects like buttons and links expose a "Click()" method. However, many modern dynamic web pages are built using AJAX requests, and there's probably a better way to go about this.

    I've had success with Firefox and plugins like Firebug, or LiveHTTPHeaders. With those you can watch which http requests are generated as you click around the application to your destination, and you may find that there is a direct URL that contains the data, or performs the action that you are looking to duplicate.

Re: Click on a cell of HTML table
by Anonymous Monk on Aug 13, 2009 at 14:58 UTC
    mld this isn't the first time you've asked how to do something that is described in the documentation, what is your problem exactly?
Re: Click on a cell of HTML table
by Anonymous Monk on Aug 13, 2009 at 15:42 UTC
    Why don't you use the click method?

    When you update your post you should make a note of it like this: update: ...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2014-09-02 02:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (18 votes), past polls