Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Click on a cell of HTML table

by mld (Acolyte)
on Aug 13, 2009 at 13:43 UTC ( [id://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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-03-29 04:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found