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

Answers were Sorted based on User's Feedback



Hello Everybody, Please tell me the concept of recovery management in QTP by giving any practic..

Answer / 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

Hello Everybody, Please tell me the concept of recovery management in QTP by giving any practic..

Answer / kalyan

Nath is right.

I will give some use ful tips.

First of all we have to find where can we get pop messages
etc---

Then we will use exist and click methods along with if
condition.

If object heirarchy .exist then

oh.click

we can use onerror resume next statement on top of the script.

Is This Answer Correct ?    2 Yes 0 No

Hello Everybody, Please tell me the concept of recovery management in QTP by giving any practic..

Answer / zayed

Gayatri,
Suppose when u click on .exe file, sometimes Security
warning message pops-up. This message box can be handled
thru Recovery scenarion. Let me know if u r still not clear.
Zayed

Is This Answer Correct ?    1 Yes 0 No

Hello Everybody, Please tell me the concept of recovery management in QTP by giving any practic..

Answer / nilanjan islam

when we face some unexpected error then we can use recovery
management.

Is This Answer Correct ?    0 Yes 0 No

Hello Everybody, Please tell me the concept of recovery management in QTP by giving any practic..

Answer / gaytri

Hi Nilanjan,

It is fine,,but my question is how we can use recovery
management in QTP.....can u please give me any practical
example of it.

Is This Answer Correct ?    0 Yes 0 No

Hello Everybody, Please tell me the concept of recovery management in QTP by giving any practic..

Answer / gaytri

Hi Zayed,

The concept is clear to me,but can you please tell me how
to handle it. As you have given me the example, so how you
will handle in that case.

Please tell me in steps how to handle that and if possible
please also provide the code.

Thanks,
Gaytri

Is This Answer Correct ?    0 Yes 0 No

Hello Everybody, Please tell me the concept of recovery management in QTP by giving any practic..

Answer / gaytri

Hi Nath,

Thanks For your help, It sorts out my problem.


Thanks A Lot!!
Gaytri

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Can the user toggle between using Local OR and shared OR for the same action?

0 Answers  


What is SQL injection?

2 Answers   CTS,


Please explain about unicode compatibility in QTP. how we can able to use it. Please help me

1 Answers  


explain all the check point in QTP?

1 Answers   BirlaSoft,


What are advantages of test automation?

0 Answers  


Java add-in is need to work on java oriented project ?

3 Answers  


what is Unicode Compatibility ? HOw does this makes a diffrence from Winrunner.?

2 Answers  


write the vb script for call to new action in qtp?

0 Answers  


How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object

0 Answers  


How can i check all the button that are enabled in a widnows based application ? What script should i write for this ?

1 Answers  


WHat is Object Identification and Object Spy?

2 Answers   IBM,


Where is the Bitmap checkpoint information stored?

0 Answers   Ordain Solutions,


Categories