|
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.
Script Creation and Description
In operation, this script performs the functions described below.
The salient points about this script are the following:
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.