How the exception handling can be done using QTP
Answers were Sorted based on User's Feedback
Answer / mukesh
QTP provides Recovery Scenario manager for exception
handing..its open a wizard u just go through that wizard
step by step and save ur recovery scenario for that current
test or for all.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mogal
Exception Handling is done in QTP by using
1.Recovery scenorios(Resources-->Recovery scenario Manager-->)
a.Triggered Event
b.Recovery operation
c.post recovery operation
2.synchronization methods(wait,wait property,exists like methods etc)
3. conditional statements( if,for,while etc)
4. on error resume next and on error goto 0.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ycy
If u don't want use Recovery scenario
You create the exception steps as an reusabel action and u
call that action whereever u need to handle the exception
in the script.
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / rafi
Using recovery scenario we can handle all types of
exception handling
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sreeprasad
It can be done Using the Recovery Scenario Manager which
provides a wizard that gudies you through the process of
defining a recovery scenario. FYI.. The wizard could be
accesed in QTP> Tools-> Recovery Scenario Manager .......
Is This Answer Correct ? | 1 Yes | 3 No |
What are the advantages of Object Repository?
WE ARE PLANING TO DESIGN AUTOMATION FRAME WORK. HOW TO CALL CONFIGURATION SCRIPT FILE(.VBS) FROM DRIVE SCRIPT FILE(.VBS)
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
when do we write a script in qtp?(plz give me more then 2 reasons)
what kind of frame work you used in your last project?
How open an excel sheet in QTP(not a run time )?
How many actions we can write in a test?
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
What are Error handling other than Recovery scenario manager?
how will b the questions if we keep one QTP project in CV.please tell me iam attending an interview.
What is Object Spy?
7 Answers JKH, Ordain Solutions,
actually how many hours per one day we will work on automation (qtp) in real time