how can we handle exceptional handling in qtp
Answer Posted / denis parker
Scripting related exceptions can be handled in two ways:
1. On Error Resume Next - To Suppress error and proceed the script execution
2. On Error GoTo 0 - To express (or prompt) the error and proceed or stop the script execution based on user selections in the error prompting message box.
Generic Application (outside the scripting)related exceptions can be handled in more ways (but listed here 3 ways):
1. Recovery Scenario
2. Conditional Statements
3. Using "Exist" method
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can i initiate the objects to find uniquely in OR
Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach
Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.
1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.
How do you perform Regreession Testing?
How to test results for qtp ?
Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.
Where to use Property Let, Property Get, Property Set in UFT
Describe function procedure in vbscript.
What is an object repository?
what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”
what is the difference btn risks & Therads in the Test plan documentation?
Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly
what are all the fileds present in object repository?
How can you identify the browser and its information using the qtp script?