Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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
Replies are listed 'Best First'.
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 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: ...

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?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-10-10 17:09 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (257 votes), past polls