couldn't reconize the pop-up window - 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: couldn't reconize the pop-up window (/Thread-couldn-t-reconize-the-pop-up-window) |
couldn't reconize the pop-up window - qtpguru - 11-12-2009 hi, I am executing a script that prepares a sale receipt and deletes at the end.When i click "delete" a pop-up displays "are you sure to delete? with buttons "OK" and "Cancel". Below is the code I got for this pop-up: Code: Browser("Sale").Dialog("Microsoft Internet Explorer").WinButton("OK").Click Can you tell me the reason? Thanks for your help RE: couldn't reconize the pop-up window - Saket - 11-12-2009 hey qtpguru, I observed that you are posting your queries into Posting Guidelines category. always decide the forum category relevant to your query and then post. For your query insert the blow statement in your script before the mentioned line and let us know what is the result Code: msgbox browser("Login").Dialog("Message from webpage").WinButton("OK").Exist |