A mechanism for testing execution of applets with plug-ins and
applications is described. In one embodiment, a data structure that
specifies at least two applets of a plurality of applets is accessed.
Based on the data structure that specifies the two applets, a plug-in
that executes with an application is caused to attempt to execute each of
the two applets. After causing the plug-in to attempt to execute the two
applets, results are generated based on the attempt to execute each of
the two applets. The mechanism may be implemented to test multiple test
suites that each comprise one or more test cases that each include an
applet, and reports may be generated for individual test cases, test
suites, or a set of test suites. This embodiment of the present invention
minimizes the time required for testing and allows for testing the
effects of applets that are not visible to a user.