Context :
Automate onesiebel application.

On click of a siebbutton , there is a warning popup window which needs to be closed for the button to proceed with its click operation.

The qtp control is still in the button click statement while the actual focus has shifted to windows dialog box.

Writing code in qtp to handle the closure of the dialog box after the click , does not work because the step does not proceed beyond the click until popup goes . This results in a deadlock scenario.

We have tried recovery scenarios. Web event configuration is not enabled due to siebel add-in.