How the exception handling can be done using QTP
Answers were Sorted based on User's Feedback
Answer / mukesh
QTP provides Recovery Scenario manager for exception
handing..its open a wizard u just go through that wizard
step by step and save ur recovery scenario for that current
test or for all.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mogal
Exception Handling is done in QTP by using
1.Recovery scenorios(Resources-->Recovery scenario Manager-->)
a.Triggered Event
b.Recovery operation
c.post recovery operation
2.synchronization methods(wait,wait property,exists like methods etc)
3. conditional statements( if,for,while etc)
4. on error resume next and on error goto 0.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ycy
If u don't want use Recovery scenario
You create the exception steps as an reusabel action and u
call that action whereever u need to handle the exception
in the script.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / rafi
Using recovery scenario we can handle all types of
exception handling
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sreeprasad
It can be done Using the Recovery Scenario Manager which
provides a wizard that gudies you through the process of
defining a recovery scenario. FYI.. The wizard could be
accesed in QTP> Tools-> Recovery Scenario Manager .......
| Is This Answer Correct ? | 1 Yes | 3 No |
For which type of projects the iterative model is not suitable?
How does Parameterization and Data-Driving relate to each other in QTP?
i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.
Could some one explain me how to create folder on the desktop from QTP?? This is an interview question
Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya
Hello, I am learning QTP. I have recorded test for Login page, i have also inserted checkpoint for Email field & when I run test it passed. But when i tried to run test by inserting 'Adding Parameter Values to a Data Table' for email & password field, it pass the first value in both the fields but after that when test run for second parameter values it displays 'Internet Explorer cannot open the Internet site, Operation aborted' & when i analyze test result it displays run time error 'Object disable'. I have also cleared all the history from IE but it is not working. Please help me. Thank you.
Hi, How to invoke QTP or any application through Command Prompt without using Vb script and batch file.... Reply me Srinivas
If we write a script in the expert view how are the objects created in the object repository? to be clear i will explain my problem first i have recorded the mercurytours application by providing the link www.mercurytours.com and all the objects are stored in the object repository ok this is fine. but i have copied the script generated in the above processes and pasted in a new test and tried to run that script but as the objects were not stored in the object repository it showed an error (The "Welcome: Mercury Tours" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object).so how can i overcome that error
How to create Userdefined Function.Please write the steps ans also provide example where exatcly we use it.
what are the different kinds of frameworks in automation?
What is the difference between QTP 8.2 and QTP 9.2
pls tell me how will you write the vb script in QTP for DataDriven test from Excel sheet for multiple userid and password explain with example