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

Modal Dialog Test Example
eValid Home

[Back to Summary of Practical Applications]

Introduction

eValid has the capability to record a "secure" entry session that can be played back anytime of day to test the "security" and "consistency" of your secure webpage(s).

Recording The Test

Pick a start page for your test.

Start RecordingUnder the "eValid" menu select Record > Start Recording. Make sure that the eValid Script Window is open. Because the Modal Dialog box will remove focus from the eValid window, there will be no way to open the eValid Script Window when the Modal Dialog box has been activated. Click the link to open the Modal Dialog Box.

Start Recording

Start Recording
When the modal dialog box appears bring the Script Window to focus and select [Insert Command] > ModalDialogWait. This will insert a 1 second wait for the modal to pop up and for windows to give focus to the Modal Dialog Window. Enter the login name in the name field, and in the eValid Script Window select [Insert Command] > ModalDialogText and enter the text between the double quotes. Example: ModalDialogText "Text or string goes here/name or password".

Then, enter [Insert Command] > ModalDialogTab to tab to the next field to enter the password. Select [Insert Command] > ModalDialogText and enter the password between the quotes. Next, insert the amount of tabs from the password field to get to the "OK" button by entering [Insert Command] > ModalDialogTab, and then enter [Insert Command] > ModalDialogEnter to click the OK button.

Validate Text Once the Modal Dialog has relinquished control back to the eValid browser, you can validate text to confirm that a Modal Dialog security box has allowed (or not allowed) access to a certain area by selecting Record > Validate > Selected > Text.

Stop Recording When you are finished recording, select Record > Stop Recording to stop recording.

Script File A completed Modal Dialog script is shown here.
Download modal.evs

Typical Playback

Click Playback > Start Playback to begin the playback process.

Click Window > Logs > Event Log to see the outputs of the validation activity.

Lessons Learned

One can reproduce a "secure" transaction with eValid. That means you can test the validity and interactivity of your secure website around the clock.

Additional Information

The previous is a good test to run regularly to check your site's secure capibility and make sure that security is consistent.