how can we handle exceptional handling in qtp
Answer Posted / raveendran
You can handle expeption in your script using If..Then
statement, or you can use .Exist statement, If any know
error message which you fell it occur, you can use
this .exist stmt to close that window.
You can use recovery scenario (.qrs file) record your
recover scenario and makesure that you are loaded that .qrs
filr into your QTP window whenever you run the test, if any
problem occur during run, it use that recovery scenario to
recover from failure.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
How to check which add-ins are associated with a test in qtp?
I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian
What is method name to compare two XML files.
What are the challenges u faced in testing with crm domain? How u overcome with?
How do you perform Regreession Testing?
write a script to verify the image path(src property) of the images which are in web pages.
Name the different types of recording modes?
Can we use index on view?
What is the difference between a Function and Procedure in QTP?
How will you check that your test cases covered all the requirements?
please any one can explain the keyword driven framework. with gmail example.
When ‘option explicit’ keyword is used in qtp?