How to chk alert given is correct or not. - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: How to chk alert given is correct or not. (/Thread-How-to-chk-alert-given-is-correct-or-not) |
How to chk alert given is correct or not. - mayur.bidkar - 11-07-2008 How to chk alert given is correct or not. for eg. trying to save record with existing roll no. expected alert is 'Roll number already exists' but different alert gets displayed. RE: How to chk alert given is correct or not. - MR21135 - 11-07-2008 Hi, Try using Text Checkpoint or you can use Browser("").Page("").Dialog("").GetVisibleText and then compare with expected result Example: Code: vactresult = Browser("").Page("").Dialog("").GetVisibleText |