in reply to Screen scraping

At this moment, I am struck at another point. I am screen scraping a GUI. This is the code I have till now. #!/usr/bin/perl use strict; use warnings; use LWP::UserAgent; my $url='file:///C:/Program%20Files/abcde/index.html'; my $obj = LWP::UserAgent->new; $obj->credentials( '192.0.0.0', '12345', 'admin' => 'admin' ); my $resp = $obj->get($url); print "SUCCESS ", $resp->content, "\n\n"; I need to navigate to the middle of the menu. Is it possible to do that in Perl? Thanks, Anusha

Replies are listed 'Best First'.
Re^2: Screen scraping
by Anonymous Monk on Aug 11, 2009 at 07:25 UTC
      The problem is I have an User Interface in servlet. I have my Menu bar (Navigation toolbar) like
      | |-"System" |-"Alarms" |-"Trunks" |-"Resources" |-"Networking".
      I want to navigate to "Resources" and that will display a screen. I have to grap values in that screen. This is what I am intending to do... Any help??? Thanks, Anusha
        I'm sorry what? WWW::Mechanize (LWP) talks HTTP/CGI to web servers. It deals with HTML links and forms. If you follow the links I gave you previously, you can see many examples of how to use it.