Micro Focus QTP (UFT) Forums
How to check empty fields? - 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 check empty fields? (/Thread-How-to-check-empty-fields)



How to check empty fields? - ripchin - 05-10-2014

hi all!!

Please see attached - how do I check empty fields without pulling them in object repository. I need to check values in all of them but there are so many fields that it might not be feasible to add all of them...please advice!


RE: How to check empty fields? - Ankur - 05-10-2014

Use Descriptive Programming to collect all objects of type EditBox (or WebEdit). Iterate through all of them and check for non-empty values.