How to handle the errors without using recovery scenery?

Answers were Sorted based on User's Feedback



How to handle the errors without using recovery scenery?..

Answer / radhika

on error resume next---- has to be written in the beginning
or the code....

Is This Answer Correct ?    9 Yes 1 No

How to handle the errors without using recovery scenery?..

Answer / dinesh1433

write on error resume next statement ,where do you expect an error may come. or in run setting set as "proceed to next step.

Is This Answer Correct ?    0 Yes 0 No

How to handle the errors without using recovery scenery?..

Answer / balaji

hi U can use like this also
If browser("HOW TO HANDLE THE EARRORS").Page("HOW TO HANDLE
THE EARRORS").WebElement("Question : HOW TO HANDLE").Exist
Then
browser("HOW TO HANDLE THE EARRORS").Page("HOW TO
HANDLE THE EARRORS").WebElement("Question : HOW TO
HANDLE").Click
End If

Correct if wrong
Balaji

Is This Answer Correct ?    0 Yes 7 No

Post New Answer

More QTP Interview Questions

How to write business scripts using object repository with different scenarios

0 Answers  


can we change the name of a check point? when will you start writing testcases? do you follow any methodology for writing test scripts? qtp is key word driven testing or data driven testing?

2 Answers  


What is the difference between property and method?

2 Answers  


if interviewer asked about the framework used for automation how we will handle the question..means what should be the answer..plz help..which framework u r used in our company?

1 Answers   iGate,


What are the drawbacks of QTP?

10 Answers   Ordain Solutions,


How can we disable smart identification at the time of recording? Ideally, smart identification should be enabled only at the run-time.

3 Answers  


for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b

3 Answers  


How many types of actions are there in quicktest professional?

0 Answers  


Could you please any body help me.for example in web table in the first row and first column there are 3 links like l1,l2,l3 having indexes 0,1,2 but second time links will change their order like l2,l3,l1 and indexes also changed how can we handle this situvation with script....

2 Answers  


In qtp is it possible to check broken links of a page?

0 Answers  


how to call a funtion in a script? i have saved the login scipt in notepad. with extension .vbs. But when i am calling the function with the keyword CALL <Function Name>. its not working out. can any one give me a clue how to call the external functions. with example.

3 Answers  


what is flag=0 in qtp tool.. i am strugglin to use flag function , exactly when it is used , any real time expert pls explain clearly?

1 Answers  


Categories