Micro Focus QTP (UFT) Forums
How to check validations for all field in a page - 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 check validations for all field in a page (/Thread-How-to-check-validations-for-all-field-in-a-page)



How to check validations for all field in a page - upadhyay40 - 12-02-2009

Hello All,

I have a screen where i need to check all validations please check in attached screen shot, can anybody help me out how would i achieve this, because problem is if i send values one by one and click on next it shows popup for entering other field. Please take in consider and hoping for your cooperation

Thanks

Mahesh


RE: How to check validations for all field in a page - Saket - 12-03-2009

you will need to fill out all the required fields and validate one field, you should not do all atonce follow each validation should be a seperate case.
enter all valid data in fields except in the one which you are validating.


RE: How to check validations for all field in a page - upadhyay40 - 12-03-2009

Hi saket,

I am not getting you properly, can you please explian it little bit more for me, hoping for cooperation

Thanks
Mahesh


RE: How to check validations for all field in a page - phanindranath - 12-03-2009

Hi

There are 8 requried or mandatory fields in the snapshot provided.
As per Saket, provide 7 fields with the valid test data and 1 field with the invalid test data to check the validation of it. Similarly repeat the same for the other fields. (As we cannot leave two or more fields without the test data)
Hope this will help you.

Thanks
Phanindra