Presentation is loading. Please wait.

Presentation is loading. Please wait.

Modal Dialogs. What is a Modal Dialog? A modal dialog is a separate window that remains in focus until it is closed by the user. During this time the.

Similar presentations


Presentation on theme: "Modal Dialogs. What is a Modal Dialog? A modal dialog is a separate window that remains in focus until it is closed by the user. During this time the."— Presentation transcript:

1 Modal Dialogs

2 What is a Modal Dialog? A modal dialog is a separate window that remains in focus until it is closed by the user. During this time the eValid browser does not have focus. Recording modal dialogs require a separate recording technique.

3 Modal Dialogs: Initiate Modal Dialog Step 1 of 17 Begin the test by navigating to a link that will pop up the modal dialog and click Record > Start Recording.

4 Modal Dialogs: Initiate Modal Dialog Step 2 of 17 Click on the link to initiate the modal dialog.

5 Modal Dialogs: Using Insert Command Step 3 of 17 For each interaction with the modal dialog, a comparable command must be added into the script using the Insert Command menu on the Script File Window toolbar.

6 Modal Dialogs: Using Insert Command Step 4 of 17 The first command to insert is Insert > ModalDialog Commands > ModalDialogWait.

7 Modal Dialogs: Using Insert Command Step 5 of 17 Type 4000 (for example) after the command to make eValid wait 4.0 seconds until the modal dialog is available for interaction.

8 Modal Dialogs: Insert Name Step 6 of 17 Then select Insert > ModalDialog Commands > ModalDialogText and, in the script file window, type the name that you want submitted to the modal dialog between the quotes.

9 Modal Dialogs: Insert Name Step 7 of 17 You will also want to type this same name into the modal dialog itself.

10 Modal Dialogs: Tab to Next Field Step 8 of 17 Since you are simulating a keyboard typing into the modal dialog fields, you may want to TAB to the next field. This is done by selecting Insert > ModalDialog Commands > ModalDialogTab.

11 Modal Dialogs: Insert Password Step 9 of 17 Enter password information by inserting another ModalDialogText command and typing your password between the quotes. Type the password into the Password box on the modal dialog as well.

12 Modal Dialogs: Insert Password Step 10 of 17 Next, select Insert > ModalDialog Commands > ModalDialogEnter to submit an Enter/Return key to the modal dialog.

13 Modal Dialogs: Insert Password Step 11 of 17 Give focus to the modal dialog again, and press Enter/Return on the keyboard.

14 Modal Dialogs: Repeat for Unauthorized Situations Step 12 of 17 If you have entered a username/password combination that cannot be authorized, the modal dialog will return with the name in the Name field, and the cursor position on the Password field.

15 Modal Dialogs: Repeat for Unauthorized Situations Step 13 of 17 Again, enter a longer or extra ModalDialogWait command to make sure the dialog is available for interaction.

16 Modal Dialogs: Repeat for Unauthorized Situations Step 14 of 17 Then insert ModalDialogEnter to submit the modal dialog again. Bring focus back to the modal dialog and press Enter/Return. (see step 9)

17 Modal Dialogs: Repeat for Unauthorized Situations Step 15 of 17 Repeat this process until an unauthorized message is displayed.

18 Modal Dialogs: Validate Text Step 16 of 17 Select some text that indicates an unauthorized status and validate it using Record > Validate > Selected > Text.

19 Modal Dialogs: Resulting Script Step 17 of 17 The final script should be similar to the sample script at the left.

20 Modal Dialogs: Complete Test To run a complete test, return to the modal dialog and login with a correct username/password combination and validate text that indicates an authorized login.

21 Modal Dialogs: Complete Test Note: please see the online documentation for settings relating to cache/no cache and cookies/no cookies, if such instances effect your login/password sequences. Help > User Manual > Table of Contents User Setup > Cache Manager


Download ppt "Modal Dialogs. What is a Modal Dialog? A modal dialog is a separate window that remains in focus until it is closed by the user. During this time the."

Similar presentations


Ads by Google