Micro Focus QTP (UFT) Forums

Full Version: Mandatory field validation in QTP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

Please help me in creating test scripts for mandatory field validation in QTP.
I used Flight application for learning purpose. Attached image for reference.[attachment=1355]

Eg- For inserting a order, we have many validations like we need to enter 1) date of Flight first, then we need to 2) select fly from and 3)fly to field etc. Only when these 3 fields are entered 4) FLIGHT image will get enabled. Once when Flight image is enabled we need to click the image to select the flight. Then we need to enter 5 Name field. Only after these steps, 6) Insert Order button will be enabled.

Please let me know how to create for these validation. Hope most of you might have Flight application installed. It would be great if you provide a script for me for understanding purpose.