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.
© Copyright 2000-2007 by Software Research, Inc.

eValid -- Validating a Pulldown Menu Passage
eValid Home

Summary
This page explains the steps needed to validate the contents of a pulldown menu that results from a mouseclick.

A pulldown menu might look like the following:

Recording Process
To record the menu action(s) and validate the contents of the pulldown 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. Identify (Visually) the Pulldown Menu/Item area you Wish to Validate...

  4. Choose Validate Selected Object Property and Provide the Prompted Modal Details Using the PageMap...

    NOTE: The "ValidateSelectedObjProperty" Script Command Generates the Following Event Log Action Details...

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

    contents of "pulldown-B.pmenu1.bmp"... the RECORDED BASELINE file.


    NOTE: The "clValidateSavedScreenRect" Script Command Generates the Following Event Log Action Details...

  6. -(AND/OR)- Choose Validate and Synchronize on Screen Rectangle [Ctrl+Q]

    NOTE: The "clSyncRect" Script Command Generates the Following Event Log Action Details...

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

  8. Stop Recording...

  9. The Resulting Originally Recorded Script File...

  10. (ADD) It is Necessary to INSERT RECORDING of a Mouse Click Just Before Step 5. of the Validation Commands so that the Pulldown Menu Remains Open for the Screen Rectangle Captures...

    Turn "On" Insert Recording - Record Mode/Options...

    Turn "On" Absolute MouseClicks - Advanced Recording Mode/Options...

    Click the Appropriate "Script File" Insertion Point for the Absolute MouseClick Action Required...

    NOTE: "Line 30" is the Resulting Inserted Script File Action Addition...

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

    contents of "pulldown-R.pmenu1.bmp"... the PLAYBACK RESPONSE file

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

  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 Mouseclick Pulldown Disappears...
    [Please note the differences between Step 5. and the newly renamed .bmp!]

    Manual POST changes result with "pulldown-B.pmenu1.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) V6 Build #212, Build Date: (Dec 22 2000-2007) 
# Copyright © 2000-2007 by Software Research, Inc. 
# Recording made on: Microsoft Windows 2000 Service Pack 3 (IE 6.0.2800.1106), HostName "bulgaria"
# Recording started at: <2007/01/02 16:42:38>  
# 

ProjectID "Temp"
GroupID "demo"
TestID "pulldown"
LogID "AUTO"


ScreenSize 1280 1024
FontSize 2
DeleteCache
DeleteCookies
#STEP 2...
InitLink "http://www.soft.com/eValid/Products/Documentation.7/Support/val" \
	"idate.pulldown.html"
Wait 8622
#STEP 3...
InputValue 0 38 "SELECT-ONE" "" "" "List item#2" "1" ""
Wait 2000
#STEP 4...
ValidateSelectedObjProperty 0 40 "tagName" "OPTION" "innerText" "List it" \
	"em#2" ""
Wait 9697
WindowPos 0 0 0 980 694 
#Wait 29322

#STEP 10...
#######  ADD-INSERT RECORDING of a Mouse Click for Screen Rectangle Captures...
clLClick 0 503 305 0
# # Insert-Recording stopped at:  <2007/01/02 16:47:21>   
Wait 2322
#STEP 5...
clValidateSavedScreenRect 0 "pmenu1" 263 242 435 161
#WindowPos 0 0 0 980 694
Wait 3388
#STEP 6...
#######  Original action location and checksum parameter field...
#clSyncRect 0 297 235 399 169 23329408
#STEP 13...
#######  Manual POST modified checksum field and action location...
clSyncRect 0 297 235 399 169 22810481
# Recording stopped at:  <2007/01/02 16:44:16>