L
lofenee
Can I?
[test a java(?) applet using Perl]Quoth "lofenee said:Can I?
to load a JVM, run the applet, and call its methods. Neither of the
web client modules I'm aware of (LWP and WWW::Mechanize) can do that.
There's a JVM module, if "offline" testing of your applet without its
surrounding HTML context is sufficient:
<http://search.cpan.org/~alknaff/Jvm-0.9.3/Jvm.pm>
I really wonder though, what's the point of using Perl to test Java?
There are plenty of native Java unit-testing tools, so why not simply
use one of those? I like Perl as much as the next guy (or gal), but
jumping through hoops to use it instead of a much easier solution in
another language is just plain silly.
sherm--
[please include your question in the body of your post as well as the
Subject. Some of us don't read Subjects.]
[test a java(?) applet using Perl]
Eclipse and NetBeans:
<http://junit.sourceforge.net/>
JUnit is so popular that it's spawned an entire family of unit testing
tools, including one for Perl called Test::Unit:
You may be able to do this with WWW::Selenium, although as Sherm said
it's probably better not to.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.