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

if anyone has idea of the interview procedure in covansys, plz send me a mail?

1950


Explain different type of event trigger option.

970


Explain QTP using different development techniques ?

908


how to test use the quality control .how to verify the image verification

3088


how to disable the pop ups through QTP using a script

2257


Does quicktest professional (qtp) is unicode compatible?

1007


How would you export a script from one pc to another in qtp?

1092


explain structured testing? plz guys with exp. do answer

1858


Which scripting language used by quicktest professional (qtp)?

1132


in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?

1817


How to change the priorities of the recovery scenario properties?

1165


How do I lauch my test website using code from qtp in different environmet, uat and PPTE?

2021


Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this

2506


What are the types of data tables in qtp?

999


how can i call function (which has link with excell sheet at a remote location) within another function

2010