|
eValid -- Automated Web Quality Solution
Browser-Based, Client-Side, Functional Testing & Validation,
Load & Performance Tuning, Page Timing, Website Analysis,
and Rich Internet Application Monitoring.
|
|
eValid -- Testing AJAX Applications -- GWT Kitchen Sink Example
eValid Home
Background
This page demonstrates how eValid can be used to test
AJAX implemented applications built with the
Google Web Tool Kit (GWT).
The application of eValid is illustrated by "from life"
recorded scripts that apply to
one of the GWT demonstration examples called the
Kitchen Sink Demo.
The "kitchen sink" demo includes a sampling of the widgets
that are handled by the GWT approach.
Playing the Example Scripts
You can view each script and from that page cut and paste the script text into your
eValid script window.
Or, you can download the script file
and save it on your machine as a *.evs file.
-
Script #1: Page Walk-Through With Text Validation
This script:
- Traverses through the pages of the "kitchen sink" example page
and visits each selection:
Intro, Widgets, Panels, Lists, Text, and Popups menu.
-
For each page the script validates some text on the page to confirm
that the page was correctly visited.
- For this script we left "Element MouseOver Recording" ON,
and this accounts for the length of the script.
In practice many of these commands have no effect on the playback.
- Important Note: This script was recorded from life.
All manual modifications made to the script they are noted as such in comments.
View script:
testing.GWT.simple.evs
Download script:
testing.GWT.simple.evs
-
Script #2: Manipulation of Tree Section Including Validation
This script:
- Manipulates the tree section
- Expands each part of the tree
- Validates selections in some of the branches.
- Illustrates Adaptive Playback appearing when an object
internal index has changed position.
(We introduced this error artifically by manually modifying
one of the script's window index values.)
- For this script we left "Element MouseOver Recording" ON,
and this accounts for the length of the script.
In practice many of these commands have not substantive effect on the playback.
- Important Note: This script was recorded from life.
If we made any modifications to the script they are noted as comments.
View script:
testing.GWT.tree.evs
Download script:
testing.GWT.tree.evs
-
Script #3: Client-Side Process Validation
This script:
- Manipulates the text section of the example.
- Types information into all of the types of text entry boxes.
- Validates that the typed-in data shows up on the page.
- Validates that the modified data shown on the screen
correctly includes the changes.
View script:
testing.GWT.content.evs
Download script:
testing.GWT.content.evs