How to verify there is no message gets displayed - 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: How to verify there is no message gets displayed (/Thread-How-to-verify-there-is-no-message-gets-displayed) |
How to verify there is no message gets displayed - anbarasu - 11-23-2009 Hi How can we verify that there is no message gets displayed in a particular area. I tried with text check point by providing expected as empty, but it gets passed even there is a message in that area. RE: How to verify there is no message gets displayed - v_selvam - 11-24-2009 What kind of application you are testing? ( VB or web or Java)? RE: How to verify there is no message gets displayed - Jackomcnabb - 11-26-2009 The Area you are testing, when you spy that or look in the Object repository does it have a property assigned to it? For example I have a Static area on part of my app that gets written to I then search for the "Text" Property of that area Code: ScreenValue=Window("Window1").Static("ScreenValue").GetROProperty("Text") From there you can make your own check point: Code: If ScreenValue = "" then RE: How to verify there is no message gets displayed - sunnyk8 - 01-10-2012 If you already know the message which is not supposed to be displayed then write the code like : Code: x = object(message).exist |