Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to handle dynamic objects in quicktest professional (qtp)?

997


How to analyzing test results using quicktest professional?

1209


How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

2078


What is expert view and keyword view?

1188


What is checking bitmaps?

1069


Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers

2120


What are the types of object repositories? Which one is you are using?

1241


Give the syntax to import/export xls into qtp.

1090


How do you configure QTP AND Test director?

1993


Does Low-level recording capture mouse movements?

1098


hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

1909


How to attach a file to TD?

1215


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

1096


Explain the new feature of UFT regarding the export of test results?

1086


How to save your test using quicktest professional (qtp)?

1160