Micro Focus QTP (UFT) Forums
Regular Expression - 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: Regular Expression (/Thread-Regular-Expression--7814)



Regular Expression - Suma Parimal - 01-16-2014

How to capture dialog box message and validate using regular expression?


RE: Regular Expression - supputuri - 01-16-2014

please share the screenshot of your dialog box and it's spy window.


RE: Regular Expression - Suma Parimal - 01-17-2014

This question i faced in some interview. Please help me out with any of the example.


RE: Regular Expression - basanth27 - 01-17-2014

Well you can regularize the identification property of a dialog box ( windows) and then grab the text using a applicable method like GetRoproperty with the property as "StatusText" or so. Regularizing the dialog would help you to identify any dialog which belongs to the same class and using the same function you can obtain the text of different dialog boxes.