InterviewSolution
| 1. |
How Do You Handle Pop-up Exceptions? |
|
Answer» A pop-up EXCEPTION Handler handles the pop-up messages that COME up during the execution of the script in the AUT. TO handle this type of exception we make WinRunner learn the window and also specify a handler to the exception. It could be Default ACTIONS; Win Runner clicks the OK or Cancel button in the pop-up window, or presses Enter on the keyboard. To select a default handler, click the appropriate button in the dialog box. User-DEFINED handler:If you prefer, specify the NAME of your own handler. Click User Defined Function Name and type in a name in the User Defined Function Name box. A pop-up exception Handler handles the pop-up messages that come up during the execution of the script in the AUT. TO handle this type of exception we make WinRunner learn the window and also specify a handler to the exception. It could be Default actions; Win Runner clicks the OK or Cancel button in the pop-up window, or presses Enter on the keyboard. To select a default handler, click the appropriate button in the dialog box. User-defined handler:If you prefer, specify the name of your own handler. Click User Defined Function Name and type in a name in the User Defined Function Name box. |
|