09-07-2009, 08:59 PM
Quote:Manoj - What do you mean by Mis-Leading ?? Can you point out the part which i have Mislead ??You are side-lining the original question & just replying on the replies
Quote:API Programming - On QTP Dialog. Give Me a break !!! dont break the tool use it. The error dialog is not meant for your fancy error handling methods. I am fully aware you can do multi-million things using API programming but dont use it to an extreme.It was for your statement "There is no Way to click on any of the buttons on the Error Window which is qtp generated. Retry is Out of question from the error dialog." nothing is impossible if you wish to do it.
Quote:On Error Resume Next - You must be the first nerd to tell me that it is not a good practice. Have you ever seen any good working functions which are not written with a error handler "On Error Resume Next" ?If you think always using this statement is a good practice ....then you are the first insane person Please read correctly what I have written.
Quote:As a good practice we should avoid using "On Error Resume Next" untill & unless it is required.I have never said Never to use this statement, use only if it is required.
FYI: Like a Try/Catch block, whenever we are expecting any error/exception, we should use it, no doubts. But if you are putting your whole code under this statement, then you have to rethink about your "nerd" statement.
There are some unwritten protocols, that only "WISE" can follow
Quote:I simply dont understand your meaningless points here. Next time, Give a few mins of thought and then reply.I think my first point will clear out who is putting "meaningless" points