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.

Visual
Demo
[Load Test 10]
Visual
Demo
[Load Test 25]
Visual
Demo
[Load Test 50]
Visual
Demo
[Adaptive Playback]
Visual
Demo
[Java Applet Recording]
Visual
Demo
[Quick Check]
Visual
Demo
[Tune]

[Back to Summary of Practical Applications]

Visual Demonstration [Java Applet Recording] Example
eValid Home

Introduction

Java Applets have become a popular feature in today's WebPages. eValid has the ability to record and playback successfully the interactive options of an applet and validate the pixel count of the applet to make sure it appears on the screen as it's suppose to. Using eValid's "Advanced Preferences" features will insure that your WebSite behaves as it should, 24/7.

Recording The Test

Make a recording of the WebPage(s) that have Java Applets embedded in them. Use the Settings> Record/Play Advanced Preferences features such as Applet Mouse Clicks or Absolute Mouse Clicks to interact with the applet. Use Real Time Recording from the Settings > Record/Play Preferences menu or insert manually the "Wait <number of milliseconds>" function to ensure synchronization with the downloadable features of the applet.

Script File

#
 ProjectID  "Project" 
 GroupID  "Group" 
 TestID  "Test" 
 LogID "AUTO"

 InitLink "http://www.opencube.com/" 
 Wait 2194 
 AbsMouseClick 100 214 3 4 659 474 
 Wait 3234 
 AbsMouseClick 103 214 3 4 659 474 
 Wait 3267 
 AbsMouseClick 89 183 3 4 659 474 
 Wait 4094 
 AbsMouseClick 91 183 3 4 659 474 
 Wait 3123 
 AbsMouseClick 333 353 3 4 659 474 
 ValidateSelectedText 70 3 "OpenCube's completely visual design studio for fast and robust applet design" "" 
 Wait 3055 
 AbsValidateScreenRect 14 126 143 199 778685 3 4 659 474 
#

Typical Playback

Click Playback > Start Playback to begin the playback process. Click Window > Logs > Event Log to see the outputs of the validation activity.

Graphical Outputs

Click on a thumbnail to view a larger image.

Interacting with the applet in playback mode.

Check that all tests passed, including the "Screen Pixel Validation" test.

Lessons Learned

With the ability to use the "Advanced Recording" features of eValid, one can create tests that can interact and validate Java Applets. Advanced Recording options are powerful tools that can help test and validate even the most sophisticated WebSites.

Additional Information

Java Applets and other technologies are making WebSites more and more sophisticated by the nanosecond. Be sure to use constraint when adapting new and highly graphical techniques that bring more interactivity and visual effects to your WebSite. Also be confident you have a sophisticated test enabled web browser, such as eValid, to make sure that your WebSite lives up to its expectations.