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 |
How can we use XML in QTP?
what is the difference between testing and debugging?
What is action? How many types of actions are there in qtp?
how u test a frame in a web page using QTP?
write script for bitmap image?
In how may ways we can use checkpoints to an application using QTP?
scalability testing comes under in which tool?
Where the text version of script file located in file system?
Can anybody post some real time scenario in qtp? please its very urgent.
suppose our project is developed using java technologies.after complition of the coding developer relesed a build to the testing team.so, what is the process means how we open that documents?what are that documents?plz give reply its urgent
What is the main difference between QTP 8.0& QTP 9.2.And what r the features and benefits of QTP.
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me