|
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-2007 by Software Research, Inc.
|
|
eValid -- Testing AJAX Applications -- GWT Kitchen Sink Example
eValid Home
Background
This page describes 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
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.
All scripts are recorded with AUTOPLAY script license token so they will play back
on any eValid copy without need for a current license.
(Be careful NOT to modify the scripts or you will invalidate the AUTOPLAY
script license token.)
To run correctly you must be using eValid V6 #182 or later.
-
Script #1: Page Walk Through With Text Validation
This script:
- Traverses through the pages of the "kitchen sink" example page
and visits each selection:
Buttons, Menus, Images, Layouts, Lists,
Popups, Tables, Text , Trees, Frames, Tabs,
and then back to the starting menu.
-
For each page the script validates some text on the page to confirm
that the page was correctly visited.
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 most 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.)
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.
- Deletes some of the data stored internally.
- 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