how can we handle exceptional handling in qtp
Answer Posted / mogal
We can handle exceptions siuing below ways
1.On Error Resume Next - Skip the Error and continue the next stpes of execution
2. Recovery Scenarios
Select Resources > Recovery Scenario Manager. Create new Scenario > Specify the Trigger Event > Specify the Recovery Operation > Specify Post-recovery test run options
3. Conditional Statements ( If, ElseIf,Else,Do,While,...)
4.Synchronization Methods (Wait,WaitProperty,Sync,Exist)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain how Does Run time data (Parameterization) is handled in QTP?
one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.
write script for bitmap image?
Did the scripts need lot of maintenance? If yes, why?
How to break the object spy ?
How can i initiate the objects to find uniquely in OR
How many types of recording modes in qtp? Describe each type with an example where we use them?
By using QTP can we record any log files written by the application which is in execution?
If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?
Explain about datafile/verification of date file when file is not available in local system?
what is error and fault in terms of software quality?
What are the features supported by UFT?
Explain different recording modes?
How to data driven test for Win objects in QTP ?
What is reusable action?