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

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)

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2018-07-18 19:02 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (393 votes). Check out past polls.