Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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
[erix]: yeah, scanning pre-loaded. I wouldn't have it any other way. As I say, my attention is a rare commodity, jealously guarded.
[erix]: ok, ok. happy pipe-dreams :P
[shmem]: have a good time inside your information bubble.
[erix]: perhaps we can have common hindsight at these thing in a few years time
[Your Mother]: Please don't fight, mom and dad!

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2018-03-19 21:19 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (246 votes). Check out past polls.