![]() |
|
how to validate mandatory field (*) in QTP - 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 validate mandatory field (*) in QTP (/Thread-how-to-validate-mandatory-field-in-QTP) |
how to validate mandatory field (*) in QTP - katun - 11-04-2012 hi, i'm the newbie in QTP... My testing application is submit request form, it have many parts in request form. Example: i need to fill in all the mandatory fields in request form only can submit the request form. The application only will appear (*) when i left it blank, and this cannot catch in QTP. Previously, i record the steps, put multiple data in QTP data table, and run. I found out that the data that i fill in or left it blank will not affect the mandatory fields in application How can i solve this problem? thanks RE: how to validate mandatory field (*) in QTP - sshukla12 - 11-05-2012 Hi, Do you want to check * is appearing or not. If you just want to check if all the mandatory fields are populated and submited just use the logic whether after submitting the data u r on the same page or u r navigated to next desired page. Regards, Sankalp |