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.

eValid -- Testing The Morfik Development Environment
eValid Home

Background
This page documents an example test script on Morfik's own AJAX built website -- in fact on Morfik's own AJAX development product. The eValid script (see complete script in box below) exercises underlying web-based application activity within a Morfik trial account. We chose the Morfik Labs section because it has the most-difficult to test examples.

The key ideas illustrated in this example are:

Starting Page
Here is the starting page for the example script. This page is built with the Morfik development system.

Starting Page for Morfik Example

Script Creation and Description
In operation, this script performs the functions described below. The salient points about this script are the following:

  1. Start a Recording from the designated Morfik webpage...

    Screen Shot for Morfik Example

  2. Await complete "Loading..." of all the starting webpage's details... (this requires later adding a synchronization step using "externalsynch"="READY".)

    Screen Shot for Morfik Example

  3. Click on the image to the left of "Live View" in the "FORUM" section and Await complete Loading... (this requires later adding another synchronization step using "readyState"="complete".)

    Screen Shot for Morfik Example

  4. Upon successful PLAYBACK of "morfik.evs", you should receive the following status window (it is a yellow screen because eValid's adaptive playback automatically retargeted DOM element indices)...

    Screen Shot for Morfik Example

  5. Completed syncing output from the event log...

    Screen Shot for Morfik Example

    Screen Shot for Morfik Example

Completed Script
Cut and paste the script "morfik.evs" shown from the area below into an eValid script window, and press play.

# Recording by eValid(TM) 
# Copyright © 2007 by Software Research, Inc. 
# Recording made on: Microsoft Windows XP Service Pack 2 (IE 7.0.5730.11)

ProjectID "Project"
GroupID "Group"
TestID "morfik"
LogID "AUTO"

ScreenSize 1280 960
DeleteCache
DeleteCookies

PlayValue _PM 0.1

InitLink "http://labs.morfik.com"

# Wait 9537
# Manually added DOM sync script command to replace Wait...
SyncOnSelectedObjProperty 0 0 "externalsynch" "READY" "id" "xfrmXappMain" ""

#Delay 1000
#ElementClick 0 124 296 501 "xfrmXAppGallery_Image1" "" "" NAV
# Manually replaced the above sequence with more advanced INDEX... commands.
IndexFindElement 0 DOWN "id" "xfrmXAppGallery_txtVisitDemo" ""
IndexElementClick 0 "" NAV
SubFrameSet 1 "Forum"

# Wait 10674
# Manually added DOM sync script command to replace Wait...
SyncOnSelectedObjProperty 1 18 "innerHTML" "Summary" "readyState" "complete" ""

Wait 1612
WindowClose 1

# End of script.

Additional Comments
If you use eValid to work with the Morfik site you may wish to be aware of the detailed Morfik Recording Protocol that we use on this application.