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
How to handle dynamic objects in quicktest professional (qtp)?
How to analyzing test results using quicktest professional?
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
What is expert view and keyword view?
What is checking bitmaps?
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
What are the types of object repositories? Which one is you are using?
Give the syntax to import/export xls into qtp.
How do you configure QTP AND Test director?
Does Low-level recording capture mouse movements?
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
How to attach a file to TD?
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
Explain the new feature of UFT regarding the export of test results?
How to save your test using quicktest professional (qtp)?