Hi Praveena, Using Recovery scenario you can disable the particular pop-up with particular text.
Go to resource->recovery scenario manager Create recovery scenario for pop-up event and then you can record the particular pop-up that occurs. You can take action (you can specify different keyboard event ) what ever you need. You can take QTP help for more understanding of recovery scenario manger Thanks, Neelkanth On Mon, Aug 17, 2009 at 9:38 AM, Kamran <[email protected]> wrote: > Hi, > use recovery scenario > > On Fri, Aug 14, 2009 at 8:45 AM, Praveena <[email protected]> wrote: > >> >> Hello, >> >> I am working on a .Net application using QTP. A pop-up window opens >> when we click on a link, when i am recording the script, it opens the >> pop-up window normally and there is no problem in recognizing the >> objects on pop-up window. after i validate the form on pop-up window, >> i close the window and continue recording in the original browser. >> Everything is fine while recording. >> >> But, when i am running the script, the pop-up window opens in the same >> browser, after validation, the close button on pop-up window trying to >> close but the browser is trying to close since the pop-up displays on >> browser. my script fails due to this. >> >> Can somebody help me in avoiding the display of pop-up window in the >> same browser? >> >> Thank you very much in advance, >> Praveena. >> >> >> >> > > > -- > Regards, > Kamran > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en -~----------~----~----~----~------~----~------~--~---
