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

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I'm trying to figure out if it's possible to write a perl script that opens a browser (Netscape), and can click on links, fill out forms, etc.

My company is deploying a web-based application and I'm on the team responsible for automating the GUI testing. We've looked at Rational and Silk, and one of our guys has fashioned a magic script-driven test harness (using VB of all things!) to control IE. It's pretty cool, but our application supports Netscape too.

I want to find a Perl solution, because that's the Lingua Franca of our department, so I ask the question here: can I control Netscape from the client side using Perl modules that already exist?

I've searched both the Monastery and CPAN, but I can only find things that deal with Mozilla and Netscape from a rather more peripheral view (i.e. manipulating Bookmarks and history lists, etc). I've used LWP and all sorts of HTTP and HTML modules for processing requests and responses, but that's not the problem. The problem is seeing if Netscape will correctly render the output from the application.

I'd supply sample code, but that presupposes that I know whether such a thing is possible!


In reply to Control the Web browser from the client-side? by Maestro_007

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-25 10:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found