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-2012 by Software Research, Inc.

eValid -- Example eValid Scripts -- Modal Login Sample
Go Back To Sample Script Catalog
eValid Home

Description of Script
This script illustrates how eValid handles a modal login process.

Script Playback
The script shown in the table below can be copied and pasted into the Script Dialog for playback by eValid:

  1. Left click drag from the top line to the bottom line of the script.
  2. Right click Copy to capture the script.
  3. Open the eValid Script Window with eValid: Window > Script Window.
  4. Create a new script with File > New.
  5. Delete the existing text that eValid automatically inserts in the new script window.
  6. Right Click Paste to insert the saved script in the Script Window.
  7. Perform any necessary edits, e.g. to remove duplicated InitLink or other unwanted commands.
  8. Click File > Save As to save the script in the filename of your choice, in the test Group of your choice, and in the test Project of your choice.

Important Note: This script is an example and may not work with your environment or setup. You may need to re-record a similar script to get correct resultes.

Example Script
# Recording by eValid V8 
# (c) Copyright 2000-2012 by Software Research, Inc. 
# Recording made on: Microsoft Windows 2000 SP3 (IE 6.0), HostName "machine"
# 

ProjectID "Test"
GroupID "login"
TestID "modaltemplate"
LogID "AUTO"
ScreenSize 1024 768
FontSize 0

#InitLink "http://www.e-valid.com/Products/License/toppage.5.html"
Wait 3000

DWindowSet 1 "Enter Network Password" 136 172 405 142
Wait 3000

# ModalDialogText "TEXT" - enter TEXT into a Modal Dialog
ModalDialogText "Guest"

# ModalDialogWait n - wait 'n' msecs on a Modal Dialog
ModalDialogWait 1000

# ModalDialogTab 0|1 - Tab forward (0) or back (1) on a Modal Dialog
ModalDialogTab 0

# ModalDialogWait n - wait 'n' msecs on a Modal Dialog
ModalDialogWait 1000

# ModalDialogText "TEXT" - enter TEXT into a Modal Dialog
ModalDialogText "passw"

# ModalDialogWait n - wait 'n' msecs on a Modal Dialog
ModalDialogWait 1000

# ModalDialogEnter - close a Modal Dialog by sending Enter message to active button
ModalDialogEnter

Wait 450
WindowClose 1

# End of script.

Additional Notes
The scripts eValid creates use one command per line.

Modal Login