Saved Bookmarks
| 1. |
How can you handle exceptions in QTP? |
|
Answer» In QTP, exceptions can be handled by using “recovery scenarios” and “On Error” statements. To handle the exception in recovery scenario, you have to define three things −
To handle the exception by “On Error” statements – In the script, you have to use the “On Error Resume Next” and “On Error Go to 0” statement. |
|