Hi Sunny,
Try using Do.. While loop to force QTP to wait until next window exists.
Do While Not Window(xyz).Exist
Wait 1
Loop
Try using Do.. While loop to force QTP to wait until next window exists.
Do While Not Window(xyz).Exist
Wait 1
Loop