I am getting this "Do you want to close this window" dialog message randomly on IE8 when trying to close the browser in QTP Test.
Trying to figured out how to handle this using QTP descriptive programing.
Basically Check if IE window (Classialog) exist if so then click on "Yes" buttton(class= winButton.)
Any help greatly appreciated...
install QTP path for IE 8 crash,?
uncheck your actvex addin and try
Check to see if you are exiting your application prematurely. i.e not logging out or trying to close before you complete a process.
# 2: If you are sure that you are exiting properly, add a Recovery scenario close this dialog and continue.
Thanks for the Help...
yes u can check for any existing dialogs, when you are trying to close the browser. If any window dialog is open, click on the appropriate button to close these dialogs.
You can use a function, which can be called basically during starting of a browser and closing the same.
As you are using descriptive programming, you can get to find all the open dialogs and close the appropriate ones.
Winds of Change