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 difference between Mandatrary proparties and Assistive proparties? Explain

4 Answers  


what testing activities u may want to automate?

2 Answers  


hi,i have a pblm in qtp,im testing an webappl in which different types of error pop up messages are displayed which qtp is not differentiating or it is not recognising. how do i make it recognise different popup errorm messages while writing script?

4 Answers  


When we try to use test run option "Run from Step", the browser is not launching automatically why?

1 Answers  


can any one tell me How exactly data drivent testing is done in.explain with any example and the exact steps to fallow?

2 Answers  






What are the Latest Feature are added In QTP 9.2?

2 Answers   Infotech,


There is web page with the webtable,this contains some data, how do you manipulate the data.

2 Answers   Tech Mahindra,


how to create user defined functions in QTP? can any one expalin me with example.. Thanks in Advance for help

4 Answers  


How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..

0 Answers  


Is there any option in QTP to add Java add-in after instaling the QTP?

3 Answers   IBM,


How to find Operating system information using QTP script?

0 Answers  


What is FRAME WORK? How many Frameworks can QTP supports?

4 Answers  


Categories