Hello Everybody,
Please tell me the concept of recovery management in QTP by
giving any practical example of it.
Thanks,
Gaytri
Answer Posted / nath .t
Hi Gayatri,
Recovery Scenario is useful for to avoid the runtime
expections. QTP allows 4 types of expections. they are
1. Popup Expections
2. An Object
3. Test Run Error
4. Application Trash
Ex:- if u want to check login page. in login page have
User name,Password, OK, Cancel objects. u want to check for
different test data.
User name: must allows min:four characters and max:8
characters(only alphabets)
Password: must allows alphanumeric min:5 characters
and max:10 characters.
u have datatable in that so many test data like
UserName Password
1. Sai xxxxx
2. rama xxxxxx
3. krishna xxxxx
in the above table 1st test data situation is failed.
here one popup window raise at run time and it shows u must
enter min 4 characters. to avoid this expection at run
time we can use Popup window expection in recovery scenario.
if u go through Tools Menu--> Recovery Scenario
without using Recovery Scenario we can write our own script
also like as
if window("Login").dialog("Expection window").exist then
window("login").dialog("Expection window").winbutton
("ok").click
window("login").winbutton("cancel").click
end if
like this way we can write our own script to avoid
exception at run time.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
what is the hierarchy to use properties in descriptive programming
Discuss quicktest professional (qtp) environment?
What are the types of object repositories? Which one is you are using?
How do you send email with attachment from outlook using qtp ?
How to use the object spy in quicktest professional 8.0 version?
Limitations in QTP?
iam have done mba(finance)in 2008. in 2008 one reputed consultancy came off campus interview our institution. i got job as "manual test engineer". now iam working as "manual testing engineer". now my problem is when iam going interview the interviewer asking like " ur mba gradute how can u get job in test engineer." this question i have faced every interview. iam explaining how iam getting job. but they are not trust me". pls tell me answer how i am giving relavent ans.. this is my mail id y.ramana84@gmail.com
When and why to use descriptive programming?
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?
What is the basic concept of quicktest professional (qtp)?
How do you test DLL files using automation Tool QTP?
what is the frame work in J-meter?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
Is it possible to change the property value at runtime? How it is possible?