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 -- Validating a Mouseover Popup Passage
eValid Home

Summary
This page explains the steps needed to validate the contents of a popup that results from a mouseover.

Here is an example area where a popup occurs when you mouseover the region:


 

Recording Process
To record the mouseover and validate the contents of the popup please follow test steps:

  1. Make Sure the Synchronization Window Delay is Long Enough...
    You need to make sure there is enough time in this setting:

    Image of Settings Showing Delay

  2. Start Recording...

  3. Turn "On" Element MouseOvers - Advanced Recording Mode/Options...

  4. Identify (Visually) the Drop Down Menu/Popup area you Wish to Validate...

  5. Choose Validate and Synchronize on Screen Rectangle [Ctrl+Q]

  6. -(AND/OR)- Choose Validate and Save of Screen Rectangle area of the BASELINE file...

  7. Steps 5. and 6. will Allow you to Select and Outline the Location of the Mouseover Popup LAYOUT to be Captured

  8. Stop Recording...

  9. The Resulting Originally Recorded Script File...

  10. PLAYBACK the Originally Recorded Script File to Generate a RESPONSE file...

  11. (POST) Manual ".evs" Script Editing Steps 12. and 13. to the Originally Recorded Command(s) Location and BASELINE file(s) Content

  12. Relocate the Validation Script Command(s) to Occur Just Before the Releasing Last Mouse Action...

  13. Modify the "checksum" Parameter to Match the PLAYBACK area Present Just Before the Releasing Last Click...

  14. Rename the RESPONSE file to the intended BASELINE file Containing the Validation Just Before the Mouseover Popup Disappears...
    [Please note the differences between Step 6. and the newly renamed .bmp!]

Example
Here is a script that shows how this works, using THIS page as an example.
CAUTION! Please Adjust Baseline and Checksum accordingly, as this page and/or environments may differ from the initial creation point!

# 
# Recording by eValid(TM) 
# Copyright 2000-2012 by Software Research, Inc. 
# Recording made on: Microsoft Windows 2000 Service Pack 3 (IE 6.0), HostName "bulgaria"
# 

ProjectID "CustomerScripts"
GroupID "Examples"
TestID "mouseover1"
LogID "AUTO"

ScreenSize 1280 1024
FontSize 2
DeleteCache
DeleteCookies

#STEP 2...
InitLink "http://www.e-Valid.com/Products/Documentation.9/Support/val" \
	"idate.popup.html"
Wait 2684

#STEP 4...
ElementMouseOver 0 152 60 14 "" ""
Wait 231
ElementClick 0 152 296 265 "" "Computer" ""
Wait 530
ElementMouseOut 0 152 68 28 "" ""
ElementMouseOver 0 159 69 2 "" ""
Wait 591
ElementClick 0 159 309 289 "" "Software" ""
Wait 391
ElementMouseOut 0 159 128 21 "" ""
ElementMouseOver 0 164 3 11 "" ""
Wait 651

#STEP 12. and 13...
WindowPos 0 0 0 884 657
#######  Manual POST modified checksum field and action location...
clSyncRect 0 92 241 677 101 19006897

#STEP 5...
#######  Original action location and checksum parameter field...
#clSyncRect 0 92 241 677 101 24274335
Wait 2083

#STEP 4...
ElementMouseOver 0 152 60 14 "" ""
Wait 231
ElementClick 0 152 296 265 "" "Computer" ""
Wait 530
ElementMouseOut 0 152 68 28 "" ""
ElementMouseOver 0 159 69 2 "" ""
Wait 591
ElementClick 0 159 309 289 "" "Software" ""
Wait 391
ElementMouseOut 0 159 128 21 "" ""
ElementMouseOver 0 164 3 11 "" ""
Wait 251

#STEP 12...
#######  Manual POST modified action location...
clValidateSavedScreenRect 0 "areaM" 92 241 677 101
ElementMouseOut 0 159 128 21 "" ""
Wait 3399

#STEP 6...
#######  Original action location...
#clValidateSavedScreenRect 0 "areaM" 2 226 602 132
#ElementClick 0 164 394 297 "" "Microsoft" "" NAV
# End of script.