Tell me difference between verify mode & debug mode in QTP?????
Tell me difference between verify mode & debug mode in QTP?????
Hi,
The basic Run modes available are - Verify, Debug and Update
Verify.
Verify mode basically enables a user to Compare checkpoint results for the current Test run as against expected data. This expected data could be captured in an earlier run.
In this a New results folder is created for every run. So in short, we could compare varying Test Runs of the same Test in terms of checkpoint values.
Debug
We generally use this mode when we wish to check our coding logic. Incase of any issue where the code breaks, we use breakpoints and verify the same in Debug mode using Step functions.
Test Results are overwritten in this mode.
Cheers.....
Verify mode : If we want to save the result of the test run to compare and verify with the future runs of the same test then we go for verify mode.
Debug mode: If we dont want to save the result as it is yet to finish the script or if we are testing the QTP coding logic then we would run the test in debug mode.
And what about update mode?
And which mode is default run mode?
Regards,
Brijesh Jain
---------------------------------------------------------
Connect with me on Skype: jainbrijesh
Google Plus : jainbrijeshji
Hi Brijesh,
The Update mode varies from the Verifiy mode in just that - In Update mode, you can update the Expected value of the Checkpoint being compared.
Verify mode as I stated earlier would just compare your Checkpoints present value as against an Esxpected value captured earlier. But suppose during playback, you wish to update the Expected value with latest Object property changesor value changes, you would have to use UPDATE mode.
By Default the Update mode is the run mode of QTP.
Cheers.....
By default Verify mode is default run mode in QTP