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

what is active screen,keyboard view?

2 Answers   BirlaSoft,


What are the challenges you faced during you entire life automation ?

0 Answers   Tech Mahindra,


i want to handle all the unwanted pop up through QTP i done that with recovery scenario but it need some title of pop up but i want that it should handle all the pop up even i don't give the title of that pop up in recovery scenario is there any general way to handle all the pop up please help

3 Answers  


i am unable to select an item from combobox using Descriptive programming. can any one give me code for scheduling the ticket using Descriptive programming.

1 Answers  


How would you directly trigger javascript in a test?

0 Answers   eBay,






How many types of recording facility are available in quicktest professional (qtp)?

0 Answers  


Explain script generated after applying database check point?

2 Answers  


anyone can explain about "Smart Identification" in QTP I mean what is the use of "Smart Identification" Give an example

2 Answers  


can u please explain what r the challenges u faced in ur automation testing

2 Answers   Genpact,


If u prepare bug report in Excel sheet . Is it possible to send thrw Test director? how it is?

3 Answers   Wipro,


How i can use Regular expression in QTP?give detailed steps for it.

2 Answers  


how to re-install QTP 9.0 trial version.

25 Answers  


Categories