Your e-Business Quality Partner eValid™ -- Automated Web Quality Solution
Browser-Based, Client-Side, Functional Testing & Validation,
Load & Performance Tuning, Page Timing, Website Analysis,
and Rich Internet Application Monitoring.
© Copyright 2000-2011 by Software Research, Inc.

Java Applet Demonstration Test Example
eValid Home

[Back to Summary of Practical Applications]

Introduction

The Java Applet Demonstration shows how one can fully record, test and playback a Java Applet.

Recording The Test

Start the test by going to the page with the Java Applet.

Select Settings > Record/Play Advanced Preferences. Under Applet Recording, be sure that Mouse Clicks and Navigation are checked. Under Absolute Recording, be sure that Absolute Left Clicks, Absolute Right Clicks as well as  MouseOvers are checked.

NOTE: This mode of recording can create large logs on playback.

Select Record > Start Recording to start recording the script. Any actions you perform in your Java Applet will be recorded in the script file.

Navigate through the page using the Applet.

When you are finished recording your script, select Record > Stop Recording.

Keysave file The completed script is shown here.

Typical Playback

Click Playback > Start Playback to begin the playback process.

When the script has finished playing back, click Window > Logs > Event Log to see the outputs of the applet navigation.

Graphical Outputs

Please click on the thumbnail to view a larger image.

Loading a page with a Java Applet and testing the applet.

Here is a sample event.log report for the Java Applet recording.

Lessons Learned

A Java Applet test can validate whether the applet loads properly, how long the download takes, and if the applet works properly.

Additional Information

The previous is a good test to run regularly to check your performance and capability.