Micro Focus QTP (UFT) Forums
QTP pop up window handling - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: QTP pop up window handling (/Thread-QTP-pop-up-window-handling)



QTP pop up window handling - piyush8793 - 03-12-2015

Im facing the problem regarding pop up window
When im recording the scrpit the pop up window opens after clicking on webbutton and also records the further steps but when im running the script pop up window is not opening and qtp showing the error that object not found for further steps.
Please Help….


RE: QTP pop up window handling - vinod123 - 03-13-2015

use recovery scenario for the popup window by using recovery scenario manager


RE: QTP pop up window handling - babu123 - 03-17-2015

after recording remove the step from script.....else use a if loop...if popup visible

Code:
window(a).winbutton(a).click
if window(a).popup(a).exist(3) then
window(a).popup(a).click
End if



RE: QTP pop up window handling - Venkateswarluponna - 10-15-2015

Hi.

I made UFT scripts for web application and integrated with ALM.

I am getting problem with below popup window.


Code:
Browser("Elsevier Editorial SystemTM").WinObject("Notification").WinButton("Close").Click


I handled as below


Code:
If Browser("Elsevier Editorial SystemTM").WinObject("Notification").WinButton("Close").exist then

         Browser("Elsevier Editorial SystemTM").WinObject("Notification").WinButton("Close").Click

End If


It worked fine in UFT and showed result as success. But in ALM it is showing as failed.

In ALM Report I could see all above occurrences as failed.

Please help me on the same.